Quantcast
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to hide a grid column on the client side without making a round-trip to the server

This example demonstrates how to hide a grid column on the client side without making a round-trip to the server.


To accomplish this task, apply a dummy CSS class ('unitPriceColumn') to all column cells (header, data, edit, footer, group footer, and filter cells) in markup. Then, to show/hide these cells, just specify their 'display' style. Set it to the 'none' value to hide cells and to the 'table-cell' value to show cells. To specify a cell display style, I used a jQuerry CSS selector (using the 'unitPriceColumn' CSS class).

Question Comments

Added By: marc parthoens at: 8/25/2014 4:20:36 AM    

Can you show how I can get the value/text of a hidden column SERVER side.
Thanks

Added By: Mike (DevExpress Support) at: 8/25/2014 4:23:38 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T143607: ASPxGridView - Get Hidden Column Value on Server Side. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles