jQWidgets Forums

jQuery UI Widgets Forums Getting Started User defined row id in jqxgrid

This topic contains 3 replies, has 3 voices, and was last updated by  admin 9 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • User defined row id in jqxgrid #80873

    Natraj
    Participant

    Hi,

    I want to create a jqxgrid with row id as user defined instead of the automatic row id given by jqxgrid internally. Is it possible? if so please guide me how to create it.

    Default Row in Jqxgrid:
    <div role=”row” style=”position: relative; height:25px;” id=”row0jqxgrid”></div>

    How i need:
    <div role=”row” style=”position: relative; height:25px;” id=”MyRow_1″></div>

    User defined row id in jqxgrid #80874

    Peter Stoev
    Keymaster

    Hi Natraj,

    This is not possible.

    Best Regards,
    Peter Stoev

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

    User defined row id in jqxgrid #80880

    Natraj
    Participant

    Hi Peter,

    Thanks for your immediate Reply.

    I have one more doubt, is it possible to add a class or an attribute to a row id.

    Example: <div role=”row” style=”position: relative; height:25px;” id=”row0jqxgrid” class=”myClass” attr =”Myattr_1″></div>

    Thanks in advance.

    User defined row id in jqxgrid #80891

    admin
    Keymaster

    Hi Natraj,

    It’s not possible to manipulate the generated HTML by jqxGrid. You can manipulate the cells rendering through the cellsrenderer function of each column. Example for that is available on the Grid’s Demos page.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.