Custom gridcolumn class

1 Answer 140 Views
Grid
Eric
Top achievements
Rank 2
Iron
Iron
Eric asked on 17 Nov 2022, 05:18 PM

I don't see a Class property on the GridColumn object.  Is there a way to style a specific column?  In my instance, i would like to remove the left border for just 1 of many columsn in the grid.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Eric
Top achievements
Rank 2
Iron
Iron
answered on 17 Nov 2022, 05:37 PM

I figured it out.  You can set the class using the onCellRendor Event

 

OnCellRender="@((e) => e.Class = "no-left-border" )"

Tags
Grid
Asked by
Eric
Top achievements
Rank 2
Iron
Iron
Answers by
Eric
Top achievements
Rank 2
Iron
Iron
Share this question
or