Announcement

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

    TreeGrid selectionAppearance header

    Hi,

    When defining TreeGrid components with selectionAppearance : 'checkbox', we used to have (7.0rc2)
    a checkbox at the TreeGrid header level which allowed users to clear/set all items at once. With the
    upgrade to 8.0 nightly builds, we lost the checkbox in the header portion.

    Following is the code to reproduce :

    Code:
    var treeGrid = TreeGrid.create
    ({
    	dataSource : this.treeDataSource,
    	isFolderProperty : 'isFolder',
    	selectionProperty : 'isSelected',
    	nodeIcon : MeiReportNavigator.dimIcons.find('name', dimName).icon,
    	folderIcon : MeiReportNavigator.dimIcons.find('name', dimName).icon,
    	selectionAppearance : 'checkbox',
    	leaveScrollbarGap : false,
    	layoutMargin : 0,
    	width : '100%',
    	height : '100%',
    	layoutMargin : 0,
    	membersMargin : 0,
    	visibility : 'hidden',
    	data : data,
    	fields : [ { name : 'caption', treeField : true } ]
    });
    
    if (isSingleSelect)
    	treeGrid.setSelectionType('single');
    Any idea how to have that checkbox in the header portion appear again ?

    Thanks,

    #2
    Anyone could confirm this ? Could it be a regression in 8.0 ?

    Thanks,

    Comment


      #3
      Not really a regression but rather change of functionality. The checkbox is no longer a separate column but integrated into the nodes. To get similar usability, show a root node and enable cascading selection.

      Comment


        #4
        Thanks,

        All I wanted to confirm is that it wasn't a regression.

        From a usability standpoint, it wasn't obvious anyways for users that they
        could click in the header to select/clear all.

        We'll most probably add two buttons below the treeGrid to that effect instead,
        or a node contextual menu (select/clear all children).

        Kind regards,

        Comment

        Working...
        X