Categories | Question details Back To List | ||
Grid Hi, how to declare all the columns readonly, instead of declaring this way mygrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro"); Is there any other way to declare the read only columns. By default i want all the columns read only. Is there any function such as setColTypes("ro"); Just doing this should set all the columns as readonly Answer posted by Support on Nov 25, 2008 06:01 There is no such command but you can a) skin setColTypes command at all - all columns will be defined as ed b) add next line grid.setEditable(false) which will block edit for all data in grid |