jQWidgets Forums

jQuery UI Widgets Forums Grid jqxgrid problem with drag and drop

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxgrid problem with drag and drop #112136

    ElSenorEd
    Participant

    We are experiencing a drag drop problem in the jqxgrid where dropping an item on the last item in the grid causes the grid to display empty boxes. We can reproduce the issue in the jseditor. What can we do to resolve the issue or is there a bug fix that needs to be made.

    reproduce gif


    Hristo
    Participant

    Hello ElSenorEd,

    It is important to provide a unique ID and new object for the addrow method.
    Please, take a look at this code snippet:

    var newRecord = Object.assign({}, dataTransfer);
    var commit = $("#grid2").jqxGrid("addrow", null, newRecord, "first");

    I hope this will help.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.