Border toolbar grid

Hi,

Is it possible to remove this border from the top of the grid?

Thanks

Fernando


Image_7945_1716205660755


5 Replies 1 reply marked as answer

JS Johnson Soundararajan S Syncfusion Team May 21, 2024 12:56 PM UTC

Hi Fernando,


We understand that you would like to remove the toolbar border in the grid. We have successfully met your requirement by customizing the CSS style for the toolbar. Specifically, we adjusted the toolbar border value to achieve the desired effect.


Please refer to the below Screenshot and code snippet for more information.

Code sample :

 

    <style>

      .e-grid,  .e-grid .e-toolbar {

        bordernone;

      }

      .e-grid .e-gridheader {

        border1px solid #dee2e6;

      }

      .e-grid .e-gridcontent {

        border1px solid #dee2e6;

        border-top0;

      }

    </style>

 


Screenshot : 


Please get back to us, if you need further assistance.


Regards,

Johnson Soundararajan S



FE Fernando May 22, 2024 01:17 PM UTC

Hi,

The side edges still remained. Could you guide me?

Thanks

Fernando

Image_4213_1716383702016



JS Johnson Soundararajan S Syncfusion Team May 23, 2024 04:12 PM UTC

Hi Fernando ,


We reviewed your query and the shared screenshot. The toolbar's left and right borders are still visible.


However, those are not the toolbar borders; they are the grid borders. In the previous update, we already removed the grid borders and separately set the borders for the header and content.


We have developed a sample according to your specifications, but we're unable to replicate the issue you've reported.


Please refer to the below screenshot and sample for more information.


Screenshot :

Sample :  Toolbar_border_core.zip


If you are still experiencing the problem, please share with us your attempts to reproduce the reported issue using the attached sample.


Regards,

Johnson Soundararajan S


Attachment: Toolbar_border_core_9a7b3324.zip


FE Fernando May 24, 2024 07:43 PM UTC

Hi Johnson

Worked perfectly.

Thank you


Marked as answer

JS Johnson Soundararajan S Syncfusion Team May 27, 2024 06:42 AM UTC

Hi Fernando ,


You're welcome! Please feel free to contact us if you need any other assistance.


Regards,

Johnson Soundararajan S


Loader.
Up arrow icon