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
235
How to make a column non editable and fixed in initialize layout handler client side
posted

I have an ultraweb grid . I have binded my grid to a datasource with auto generate columns property set to true.

In the initialize layout handler client side im able to set some columns hidden and header text to the columns.

But when im trying to make a column noneditable and fixed , both  do not work .

i've used

oGrid.Bands[0].getColumnFromKey("FEATURE_NAME").setAllowUpdate(2);

oGrid.Bands[0].getColumnFromKey("FEATURE_NAME").setFixed(true);

 can anyone help me with a solution.

Parents
No Data
Reply
  • 28464
    posted

    Hello,

    I am not sure if the InitializeLayout event on the client-side is not still too early to do that. I can suggest experimenting - running the same code from a button on the client side (on button click) and see if it takes effect - if it does, then maybe you can move your code in <body onload=""> or try the same approach (InitializeLayout, but with a timeout before executing it)

Children
No Data