="1160px"
="RateID"
="true">
>
="control-column"
="control-column-header">
="DeleteRow();return false;"
/>
="Rate Code"
="430px">
="Category/UOM">
="Rate Type"
="30px">
="140px">
="MinRate"
="number-column-header"
="System.Double">
="MaxRate"
="Single">
My grid looks as given above.
1.After i enabled client rendering on grid i am getting Sys.FormatException as i have set DataFormatString to certain columns in my grid.
How can i fix this?
2.
grid.get_columns().get_column(0).set_hidden(
true);
I tried hiding certain columns in the grid as given above.
But this just hides the column header and not the cells in the column.
So i tried hiding the cells by
$(grid.get_rows().get_row(i).get_cell(0).get_element()).hide();
This messes up the CSS applied to the grid and the widths of the columns are totally messed up.
Can you please suggest me methods to get over this problems.
Thanks,
Divya
Ok thanks Dave.
We have somehow worked around this problem by applying some hide class on client also when
adding data on server.
-best
Hi,
I was able to replicate this problem. The problem that had been fixed was rendering hidden columns from the server. The problem here is that no hidden css is generated in the row template from the server, and when the column is hidden, it's not udpated. So when you rebind on the client, the data cells reappear. This has been submitted internally as bug # 85736. If you set Hidden="false" on the aspx, a hidden css should be sent from the server and this scenario should work.
-Dave
David,
I downloaded the latest service release and tried it.The column hiding is still a problem.
Can you provide a better solution?
-Divya
Which service release should we get so that the client hiding of columns happen properly?
Yeah that solved part of my problem.But the format is applied only to the server added rows.
When am adding rows on client , i need to first format the data and then add it.
and can you provide me the link to the latest service release.We would like to upgrade to that.
-Thanks