jQWidgets Forums

jQuery UI Widgets Forums Grid Losing grid edit status after resize when grid width: 100%

This topic contains 4 replies, has 2 voices, and was last updated by  Llorx 8 years, 5 months ago.

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

  • Llorx
    Participant

    Fiddle here: http://jsfiddle.net/L2qdqquy/11/

    When I click the third column, I expect the dropdown to appear, as happens the first time you load the grid. If you click on “Reset size”, it will change the grid size and just after that, the first time you click on the third columns, sometimes the dropdown don’t appears, and you have to click a second time. That’s not a big deal. The problem is that sometimes the dropdown appears the first time after editing, but when you change the selection, the value is not updated, so you have to click again and select again the value from the dropdown.

    If you set a fixed width instead of 100%, it works as expected.


    Peter Stoev
    Keymaster

    Hi Liorx,

    The behavior is by design. We close the editors on resize.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Llorx
    Participant

    I doubt that the bugs I mentioned are on design. Have you tried the fiddle?

    I repeat: When you resize, you cannot open the editor, because it appears and disappears instantly, being unable to open it at first click: https://goo.gl/kmcmY3

    This only happens if you have dynamic width (100%) but not if you have a fixed width, so yes, I doubt a lot that is a feature but a bug.

    Also, when it finally appears at first click after resize (I repeat, at first click after resize, happening only 1% of the times you click), it don’t save the changes. When you are on, let’s say, 3, and you change to 4, when you lose focus it returns to 3 again.

    Really, I hoped that this time I didn’t receive the same “seems a bug but is a feature”, but I was wrong :-/


    Peter Stoev
    Keymaster

    Hi Liorx,

    Yes, I tried it and the behavior is by design. There’s logic in the Grid which handles what happens with editors on resize.

    Regards,
    Peter


    Llorx
    Participant

    Notice that I’m not talking about resizing when you have the dropdown open. I’m partially fine about that. I’m talking about opening the dropdown after resizing. Is almost impossible to open it on first click.

    Following the steps:
    – Click on resize button
    – Click on the third column to edit the value
    – Notice how the dropdown appeared for a frame and then disappeared, without opening

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

You must be logged in to reply to this topic.