Hi,
I purchased the Grid Control today and was just wondering is there an easy way to allow the user to select which fields to display in the grid. I have a table with a lot of fields (over 40) and the users needs to decide which ones to view.
Thanks in advance,
Stephen
Hello,
There is an option of 'showhidecolumns', but limitation is that it does not persist it's state on browser window refresh.
$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>true, // allow/disallow delete
"rowactions"=>true, // show/hide row wise edit/del/save option
"showhidecolumns"=>true, // show/hide export to excel option
"autofilter" => true, // show/hide autofilter for search
"search" => "advance" // show single/multi field search condition (e.g. simple or advance)
)
);