Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Column gets wider if sorting while editing

    Hi there,

    When editing a listgridfield and changing the sorting of a column, the specific column gets wider each time the direction is changed.
    This only happens in the latest release of Chrome (Version 53.0.2785.143 m). In Firefox and Internet Explorer it works like expected.
    It's reproducable in the latest nightly (SmartClient_v110p_2016-10-05_Pro).

    Example: Click image for larger version

Name:	Animation 63.gif
Views:	41
Size:	163.3 KB
ID:	240596

    Code for reproduction:
    Code:
    isc.ListGrid.create({
        "ID" : "demoListGrid",
        "canEdit" : true,
        "width" : 400,
        "height" : 100,
        "fields" :
        [{
                "name" : "demoNameField",
                "title" : "Country",
                "type" : "text",
                "width" : 150,
                "canEdit" : false
            }, {
                "name" : "demoNumberField1",
                "title" : "Title 1",
                "width" : 70,
                "type" : "text",
                "canEdit" : true,
                "autoFitWidth" : true
            }, {
                "name" : "demoNumberField2",
                "title" : "Title 2",
                "width" : 70,
                "type" : "text",
                "canEdit" : true,
                "autoFitWidth" : true
            }
        ],
        "data" :
        [{
                "demoNumberField1" : 0,
                "demoNumberField2" : 0,
                "demoNameField" : "Belgium (BEL)",
            }
        ]
    })
    Best regards
    Last edited by SimonF; 5 Oct 2016, 02:05.

    #2
    Hi Isomorphic,

    I can reproduce in the latest online showcase (Chromium 53.0.2785.113, v11.0p_2016-10-05) (c&p code, demoListGrid.draw();).
    I do not have browser zoom disabled.

    In the grid samples under Grids->Editing, the edit mode is exited when clicking the header. This does not happen here.

    Best regards
    Blama

    Comment


      #3
      We've made a change to address this issue in the 11.1d and 11.0p branches
      Please try the next nightly build (October 7 or above)

      Regards
      Isomorphic Software

      Comment

      Working...
      X