jQWidgets Forums

jQuery UI Widgets Forums TreeGrid Only enable row click on the drill down arrow

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

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

  • pt-jcoelho
    Participant

    Hi
    I’m testing if the treegrid can be used in my project.
    I’m testing the javascript-tree-grid-virtual-mode.htm.
    Due to project requirements, on the javascript-tree-grid-virtual-mode.htm, i have:
    -Disabled Pagging
    -Only one level
    -150 rows (Stores) on the first level
    -31 rows (days) per Store (on the second level)
    -Two pinned column

    The grid works fine, the arrow drill down works fine.
    But when i click on a diferente place than the arrow, the grid hangs for 10 seconds.

    On the Row, is possible to only enable the click on the arrow?

    Thanks and Best Regards


    Peter Stoev
    Keymaster

    Hi pt-jcoelho,

    I suggest you to enable Paging if your intention is to load multiple records. Otherwise, you would not be, because the widget is optimized for large data sets only in case paging is enabled.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    pt-jcoelho
    Participant

    Hi Peter
    I understand that, but it is a requiremente from the project.
    The treeGrid is working perfectly.
    The only problem is when the user clicks on a row on a diferent place than the arrow.

    This function is executed on every row Click.
    $(‘#treeGrid’).on(‘rowClick’, function (event) {
    alert(‘rowClick’)
    });

    Is possible to check that if the click is on a diferent place than the arrow, to not execute what ever is taking this long?
    Thanks and Best Regards


    Peter Stoev
    Keymaster

    Hi pt-jcoelho,

    Unfortunately, No. Behavior modifications are not possible.

    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.