Grid Table Body and Head Massive Customization

Hi,

Question 1. -

I wanted to try to customize the grid in a manner is follows a certain design.

It was possible to achieve it without Syncfusion's, but is it virtually possible to do it like this design? 


Or will it be virtually impossible / not recommended? as I was trying some changes, some were undetected/ignored and some came out to be confusing.

Note, the modification I've been making in the Style.css, the general class to override the grid's design, cause the 

The "ejs-grids" component's Scss's class wasn't being taken into consideration.


Question 2. - 

How to hide the freeze columns lines and change their color? 


Attachment: datatable_e13ce6c.rar

3 Replies 1 reply marked as answer

JC Joseph Christ Nithin Issack Syncfusion Team February 4, 2022 01:55 PM UTC

Hi Adam, 

  Greetings from Syncfusion support. 

 Query 1: I wanted to try to customize the grid in a manner is follows a certain design. It was possible to achieve it without Syncfusion's, but is it virtually possible to do it like this design? 

  Based on your requirement, you want to display the values of a column in a certain design. Your requirement can be achieved using the `columnTemplate` and the `commandColumn` feature of the EJ2 Grid. Please find the below documentations for more details. 

Documentations: 

Also Please refer the below samples where we have demonstrated the `columnTemplate` and the `commandColumn` features. 

Samples


Query 2: How to hide the freeze columns lines and change their color? 

   Your requirement can be achieved by customizing the lines by using the CSS styles. You can hide the freeze column lines by using the below CSS. 

.e-grid .e-frozenhdrcont .e-frozenheader > .e-table, 
.e-grid .e-frozenhdrcont .e-movableheader > .e-table, 
.e-grid .e-frozencontent > .e-table { 
  border-bottom-width0px; 
  border-right-width0px; 
} 


And you can change the color of the freeze column lines by using the below CSS. 

.e-grid .e-frozenhdrcont .e-frozenheader > .e-table, 
.e-grid .e-frozenhdrcont .e-movableheader > .e-table, 
.e-grid .e-frozencontent > .e-table { 
  border-bottom-colorblue; 
  border-right-colorblue; 
} 



Please get back to us for further details. 

Regards, 
Joseph I. 


Marked as answer

AZ Adam Zaghouani February 4, 2022 02:01 PM UTC

I see, clear enough.

Thank you... IMMENSLY! Really!



BS Balaji Sekar Syncfusion Team February 7, 2022 07:50 AM UTC

Hi Adam, 

Thanks for your update. 

We are happy to hear that your issue has been resolved. 

Please get back to us if you need further assistance. 

Regards, 
Balaji Sekar. 


Loader.
Up arrow icon