This is a migrated thread and some comments may be shown as answers.

Column Selection Issue

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prince M. Premnath
Top achievements
Rank 2
Prince M. Premnath asked on 27 Apr 2010, 02:49 PM
Hello All ,
After removing a column by unckecking the column for the header context menu , if i made any client filter the then again the columns pops up ?? how just to maintain the client state ? .

if i could catch the event triggered by the CheckBox Checking / Unchecking  will it help me out ? can you say me whats the event handler for Checking/Unckecking the column selection Checkbox ??

thanks in advance

-Prince

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 30 Apr 2010, 07:07 AM
Hello Prince,

Basically, in such a scenario, the control uses client side script to hide the column. Hence, when the control is rebound, this column is shown again.
There are two options to handle this.
  1. You can use client side script, to hide the column each time in the OnGridCreated client side handler.
  2. You can also hide the column on the server, to make sure it is not visible when the control reloads.

I hope one of these options is feasible for you.

Regards,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Prince M. Premnath
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Share this question
or