Do you support hiding a column yet in the WebDatGrid? In November you said you were planning to put it into a future release. If not, do you have a slated release for this.
I am currently setting visible column widths to exactly match my grid width and then setting my primary key column equal to 0. This is working but not a desirable solution.
I'm doing something like this but it coughs up an object not set to an instance of an object error when I run it. The datasource is being set and I'm doing .databind() right before I try to hide certain columns. Is there soemthing else I need to do to actually have the datagrid generate the columns?
I'm hiding a column by doing this:
WebDataGrid1.Columns[...column_index_here...].Hidden = true;
PS: I'm using version 10.2 and dynamically generating my columns at runtime (not sure if this has anything to do with the fact that I can hide a column).
Please mark this as answered if it has helped you.
Cheers,
Wagner Danda da Silva
http://www.wagnerdanda.me
Hi,
Now i got stuck up with another issue. I need to hide the selected columns in the grid. I had done it when AutogenerateColumns property is false. But i need to do it when Autogeneratecolumns property is true. I know its not easy to access and modify the autogenerated ones, but the requirement is like that. Can you help me in this issue?
Thanks in advance,
Assyst
Bunch, can you give a more detailed description of what you are doing to 'hide' a column? I need to do the same thing, and if you have found a way around it for the time being, perhaps I can use it in my code. At least until Infratistics gets the v.2 release out. Thx.
/Tom
It has been one of the top items on the list of features to add in the WebDataGrid, but due to high demanded features that we released in 9.1, we were not able to get to it unfortunately.
We will do our best to include it in the next version of the product.
Taz.