Hi,
I am displaying a report in webdatagrid with lot of columns using AutoGenerateColumns="True".
I want that user can hide or show whatever columns he is interested in from the UI. How can I do this?
Hi rohitarora,
As long as you're hiding the columns on the client, you can do this. The autogenerated columns are available off the columns collection on the grid on the CLIENT. Not server. You just have to find a column object and call col.set_hidden(true). There is no behavior offering a built in UI for this currently. You will have to accomplish this. Maybe a menu on the side or with checkboxes where each checkbox is mapped to a column.
regards,David Young
Hi David,
Do you have any sample implementation which do something similar?
Regards
Rohit