Is there a way to stop a specific column from appearing in the column chooser?
I have a hidden column that I dont ever want the user to see so I can hide the column easily enough but they can show it using the column chooser.
Thanks,Doug
Hello dougiejay,
if you do not want a specific column to be visible inside the Column Chooser dialog you could use the following code to remove it from XamGrid
this.xamGrid.Columns.Remove(this.xamGrid.Columns[index]); when loading your data .
HTH, regards Nikola.
Sorry I should have explained that I still need the column for a hidden filter and therefore cant remove it, just want to hide it...
Currently there is no way to have a column excluded from the ColumnChooser. You could set the IsHideable property of the hidden column to false. It would still be in the list but should no longer be modifiable by the user.
I will ask that our DS staff puts in a feature request for feature to have a column setting to exclude it from the list.
How are you using the column for filtering? You mighht be able to use the filtering api to inject the filters in to your grid without the column being there.
Could you explain the usage a little?
Hi Darrell,
Basically I have a boolean property called Visible of a Product object which is the source for each row in the grid. I set the Visible property via another control to false when we want to hide the rows from the grid for all Products that have Visible = false set. So I used a column filter to quickly hide those rows and then when visible=true they become visible again via the filter.
Does that make sense?
Doug
Currently this feature has not been implemened yet.
Hi,
is this feature available yet?
Doug,
This update is to let you know that I submitted a feature request for the ability to exclude columns from the column chooser. I have sent you specific information about that request in a private support case.
Thanks,Francis
I have created a new thread regarding the performance of the filtering at :
http://forums.infragistics.com/forums/p/47010/251659.aspx#251659
Hi Devin,
No it isnt the boolean filter that is concerning me performance wise. It is our other string based columns. If I use the UI to add a filter to a column like our Color Description column which probably has around 200 possible values and deselect all but one or two, applying the filter takes several seconds. Also, clearing the same filter takes quite some time and the CPU goes to 50% for an extended period for IE.
However looking at your official samples I can see the one with a million rows (or whatever large number it is) filters very quickly. So I need to investigate some more.
Regards,Doug