Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
to hide a particular column in server side that starts with a specific key name
posted

Hi,

I am new to infragistics.

I use webdatagrid and I want to hide all columns which starts with a particular column name in server side.

I understand that in client sidethe following code can be provided to hide coumns that start with "abc".

I would like to perform the same in server side.

if (webdatagrid1.get_columns().get_column(i).get_key().startsWith("abc"))

{
        webdatagrid1.get_columns().get_column(i).set_hidden(true);

}

Your help is much appreciated

Regards

Niranjani Kuber