jQuery UI Widgets Forums Grid Column Level Edit

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Column Level Edit #72814

    Aman_azmat
    Participant

    $(“#classificationinfo”).jqxGrid(
    {
    width: screen.width – 200,
    theme: ‘energyblue’,
    height: 70,
    source: adapter,
    editable: true,
    selectionmode: ‘singlecell’,
    columns: [
    {text: ‘Descriptor’, datafield: ‘descriptorClass’, width: 200},
    {text: ‘Classification’, datafield: ‘codificationcode’, width: 200},
    {text: ‘Description’, datafield: ‘description’, width: 180},
    {text: ‘Code’, datafield: ‘codificationid’, width: 80, cellsalign: ‘right’},
    {text: ‘Defintion’, datafield: ‘definition’, width: 405, cellsalign: ‘right’},
    {text: ‘View Parent’, columntype: ‘checkbox’, datafield: ‘viewparent’, width: 100, cellsalign: ‘right’}

    ]
    });

    —————————————————
    1)In above code I want to allow edit only for View Parent and disable edit option for other columns.How can I achieve this

    Column Level Edit #72820

    Peter Stoev
    Keymaster

    Hi Aman_azmat,

    Set editable: false to columns which you don’t want to be editable.

    Best Regards,
    Peter Stoev

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

You must be logged in to reply to this topic.