jQWidgets Forums

jQuery UI Widgets Forums Grid Disabling grid

This topic contains 7 replies, has 2 voices, and was last updated by  Nadezhda 10 years, 7 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Disabling grid #62496

    Freak
    Participant

    Hello Team,

    How can I make selective coulmns of the grid non-editable dynamically. $(‘#grid’).jqxGrid(‘editable’,true) makes entire grid non-editable. I want to make all columns non-editable except one. Is there any way to achieve this?

    Regards,
    Freak

    Disabling grid #62501

    Nadezhda
    Participant

    Hello Freak,

    In the following demo you can learn how to make non-editable column: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/customrowcelledit.htm?arctic.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Disabling grid #62503

    Freak
    Participant

    Hi,

    I am making grid as non-editable based on a condition. And after disbling it, I want to make perticular column editable which is non-editable as grid itself is non-editable. I tried with setcolumnproperty, but it is not working. Any suggestions?

    Regards,
    Akshay

    Disabling grid #62507

    Nadezhda
    Participant

    Hello Akshay,

    Please, try the following example with ‘setcolumnproperty’: http://jsfiddle.net/rs0ahvy0/.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Disabling grid #62509

    Freak
    Participant

    Hello,

    In the sample you gave, I set editable:false for the grid and then on button click, I am trying to make FirstName column editable. But it does not seem to work.

    Regards,
    Freak

    Disabling grid #62554

    Nadezhda
    Participant

    Hi Freak,

    Here is an example which shows how to set grid columns non-editable. When you click the button you will set the first column editable: http://jsfiddle.net/14swygfj/.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Disabling grid #62582

    Freak
    Participant

    Hello Nadezhda,

    In my case the entire grid is non-editable and later I want to make only one column as editable. When grid is non-editable, setcolumnproperty is not working. How can I achieve this?

    Regards,
    Freak

    Disabling grid #62596

    Nadezhda
    Participant

    Hi Freak,

    Unfortunately, such option is not available. Please, try the above example. There is no difference in functionality in your issue and the above example.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.