jQWidgets Forums

jQuery UI Widgets Forums Grid Integrate icon in jqxgrid cell and get value from Grid

This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 9 years, 11 months ago.

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

  • muthu
    Participant

    I want to integrate icon in jqxgrid (view more details icon), and how to get value from grid..

    here my code is..

    { text: ‘Source’, datafield: ‘lcms_source’, pinned: true, width: ‘26%’,sortable:true, filtercondition: ‘starts_with’, editable:false,
    cellsrenderer :function (row, columnfield, value, defaulthtml, columnproperties) {

    var dataRecord = $(“#jqxgrid”).jqxGrid(‘getrowdata’, row);
    return ‘<span id=”” style=”margin: 4px; float: ‘ + columnproperties.cellsalign + ‘;”>’ + value + “</span><input type=’image’ src=’images/add-button.png’ onClick=’buttonclick(value)’ class=’add_button’ id=’viewsource’ style=’float:right;margin-right:10px;’>”;
    }
    },

    how to get value from grid ..

    Thanks,
    Muthu


    Nadezhda
    Participant

    Hello Muthu,

    If you want to get cell value you may use ‘getcellvalue’ or ‘getcellvaluebyid’ method. If this does not help you, please, provide us with more information or larger code sample.

    Best Regards,
    Nadezhda

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

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

You must be logged in to reply to this topic.