Opened 8 years ago

Closed 8 years ago

#13513 closed defect (fixed)

DataGrid.getColumnTogglingItems() doesn't behave consistently after refreshed

Reported by: evan Owned by: evan
Priority: high Milestone: 1.7
Component: DojoX Grid Version: 1.6.1
Keywords: grid, toggle, header, menu Cc:
Blocked By: Blocking:

Description

This can be reproduced with the the attached test case

  1. when the page get loaded, right click on the header, the checkedMenuItem for 'Column 1' is enabled
  2. check for 'Column 2' in the menu and make it displayed
  3. Display the header menu, uncheck and hide 'Column 2'

Then the menu item for 'Column 1' is disabled, but this is different from what we saw when page initially get loaded. So checkedMenuItem for 'Column 1' should be initially disabled in #1 for a consistent behavior

Attachments (1)

13513.html (2.2 KB) - added by evan 8 years ago.
By running under dojox/grid/tests/

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by evan

Attachment: 13513.html added

By running under dojox/grid/tests/

comment:1 Changed 8 years ago by evan

Resolution: fixed
Status: newclosed

In([25899]) Fixes #13513 !strict patch from Karl by disabling the only 1 column when Grid initially rendered. Applied both to trunk and 1.6 branch

Note: See TracTickets for help on using tickets.