jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Event Object

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Event Object #17196

    DavidSimmons
    Participant

    I am using the following code that uses the event Object. I am assuming it is the Grid event Object. Can you help find documentation on all possible event properties or event.args properties.

    gridCells.on(‘dragStart’, function (event) {
    var dragStartCell = $(jqxgrid).jqxGrid(‘getcellatposition’, event.args.pageX, event.args.pageY);
    });

    I need to know is possible at the time of gridCells.on(‘dragStart’, function (event)
    What is the Column Name?
    What is the Rowid?

    I would like to know all possibilities of the Grid event object if I am understanding this correctly.

    Grid Event Object #17223

    Peter Stoev
    Keymaster

    Hi David,

    The “getcellatposition” method returns an Object. The object has 2 fields – row and column. The row is the row’s index, the column is the column’s datafield. As you know, you may use the row’s index to get the row’s id by calling the Grid’s “getrowid” method and passing the row’s index as parameter.

    Best Regards,
    Peter Stoev

    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.