Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1737 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2009
    Posts
    104
    Vote Rating
    3
    gatherworks is on a distinguished road

      0  

    Default Gridpanel with single column issue

    Gridpanel with single column issue


    When I right click on a column for grid panel (with only 1 column), I get this alert message:

    "A grid must have at least one column at all times."

    I expect to see this if I try to delete the last column, but I am right clicking on it to get to the context menu.

    When the grid panel had more than 1 column, there is no issue.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,240
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Do you have a project archive that we can reproduce this problem with?

    Starting an Ext 4.x project, dragging out a Grid Panel, deleting all columns by 1, right click on the last column... doesn't trigger it
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2009
    Posts
    104
    Vote Rating
    3
    gatherworks is on a distinguished road

      0  

    Default


    I just confirmed that those exact steps recreate the issue. I restarted Designer... created a new project... added a grid panel and deleted column by column with right click and got the issue.

    Here's the resulting project: gpissue.zip

    I am on a Mac.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,240
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    I am able to reproduce with your project. Thanks.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1