jQWidgets Forums

jQuery UI Widgets Forums Grid grid event

This topic contains 2 replies, has 2 voices, and was last updated by  DavidSimmons 12 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    grid event Posts
  • grid event #13237

    DavidSimmons
    Participant

    I have a grid with 10 rows but only 5 rows have data. Is there is a way to get an event when the user clicks on an empty row. Maybe test the row/cell id when clicked?

    grid event #13264

    Peter Stoev
    Keymaster

    Hi David,

    In case you have a pager with page size equal to 10 and only 5 data rows, you can turn on the “autoheight” feature by setting the “autoheight” property to true. That will automatically adjust the Grid’s height to the visible rows and there would be no empty rows. In that case, you can use the regular jqxGrid events like “rowclick”, “cellclick”, etc.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    grid event #13291

    DavidSimmons
    Participant

    Thanks, but I am actually trying to let the user click on a blank row and test for that event to add a new row of data…

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

You must be logged in to reply to this topic.