User Profile & Activity

Riendy Setiadi Member
riendy@intersoftpt.com
Page
of 19
Posted: April 20, 2011 10:31 PM

Hello, I have tried a simple sample but I couldn't replicate your issue here. would you attach a simple runable sample of your issue?

Attached is my simple sample.

Posted: April 20, 2011 12:37 AM
Hello,
To hide the column, you can validate the visibility from client side inside OnAfterInitialize.
you can see the snippet code bellow:

function WebGrid1_OnAfterInitialize(controlId) 
{
            var WebGrid1 = ISGetObject(controlId);
            WebGrid1.RootTable.Columns.GetNamedItem("CompanyName").Visible = false;
   WebGrid1.RootTable.Columns.GetNamedItem("CompanyName").HideFromView();
}

Hope this helps.

Regards,
Riendy
All times are GMT -5. The time now is 10:31 AM.
Previous Next