jQWidgets Forums

jQuery UI Widgets Forums Grid Not able to Get Row data by Id

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by  napilex 11 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Not able to Get Row data by Id #17776

    Syai
    Participant

    Hi,
    I’m facing a small problem while working on JQX Grid. I need to get the row data with the Row Id of the Grid. So I’ve used below code to get the row data.

    var rowData = $('#jqxgrid').jqxGrid('getrowdatabyid', rowId);

    But it always returning as “undefined”. I got the Row Id by using below code.
    var rowId = $('#jqxgrid').jqxGrid('getrowid', row);

    Can anyone help me on this please.

    Thanks & Regards,
    Syai,
    Osmosys

    Not able to Get Row data by Id #23241

    support
    Participant

    Hi Syai,

    Could you please, provide additional information and a sample about your issue.

    Best Wishes,
    Mariya

    jQWidgets Team
    http://www.jqwidgets.com

    Not able to Get Row data by Id #25547

    napilex
    Member

    I solved using a variable:

    var grid = $(“#jqxGrid”).jqxGrid(
    {
    width: ‘100%’,
    editable: true,
    columnsresize: true,
    ……………..
    …………….

    Then

    var data = grid.jqxGrid(‘getrowdata’, 0);

    I hope this solve your problem.

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

You must be logged in to reply to this topic.