Hi all,
I have this grid
imag
but when i put the width (to 0px)with this code:
.Columns(column => { column.For(x => x.uniCODOBJ).DataType("string").HeaderText("ID").Width("0px"); column.For(x => x.strTITOL).DataType("string").HeaderText("Títol"); column.For(x => x.strNOMPRO).DataType("string").HeaderText("Nom Productor"); column.For(x => x.datFECCRE).DataType("date").HeaderText("Data").Format("dd/MM/yyyy"); })
iggrig after code:
row header increase a lot, how I can solved this trouble?
a lot of thanks for advance
Hi,
I have to try your recommendations, I have a lot of work and i don't have time yet.
When i have time I comment, a lot of thanks.
Rubén
hey Ruben,
just checking if you need any additional help. Thanks
Angel
Hey Ruben,
I am not sure which version you're using, but the grid looks like it's not styled properly. Could you let me know how you reference the CSS and which version you're using.
Also we have column hiding feature, and that's the best way to hide a column compared to setting its width to 0px. You can set hidden="true" or Hidden(true) if you're configuring the grid in an MVC view.
Let me know. Thanks