We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Change just Grid css

Hi,

Is it possible change just the grid css (e.g. change border color) but do not affect the others components?
In fact, what i need is remove the border of grid (border = 0), but using the Essential Theme Studio i didn´t find how to.

Regards,
Áureo



4 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 6, 2017 12:57 PM UTC

Hi Aureo, 
  
We are working on this query and we will update you the response ASAP. 
  
Regards, 
  
Farveen sulthana T 



FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 6, 2017 01:05 PM UTC

Hi  Aureo, 


Thanks for contacting the syncfusion support. 


Solution 1:- If you want to change the border of the Grid, you can use the Content Border under  “Content Tab” on the left side of the Theme studio panel.  Under that Content Border you can change the border color that you required. Please refer to the below screenshot. 
 
 
 


Solution 2:- Otherwise if you need to remove the border inside of the Grid, you can use “GridLines” property in the Grid control.  By using this property you can remove the border inside of the Grid on horizontal and vertical side. Please refer to the online demo sample 




Please refer to the API link about GridLines:- 



Solution 3:- If you are expecting  to override the outside border of the Grid , you can follow this solution. For this, you have to remove the border-style css property of the class “.e-grid” or you can set the border-style according to your requirement. Please refer to the below screenshot 

 


Please get back to us if you need further assistance. 


Regards, 

Farveen sulthana T 



AA Aureo Androczevecz March 6, 2017 01:29 PM UTC

Hi, Farveen!

Thanks very much for your answer, the problem was solved.

Regards,
Áureo.


TS Thavasianand Sankaranarayanan Syncfusion Team March 7, 2017 11:13 AM UTC

Hi Aureo, 
 
We are happy that the problem has been solved. 
 
Please get back to us if you need any further assistance.  

Regards, 
Thavasianand S.

Loader.
Live Chat Icon For mobile
Up arrow icon