TreeGrid setSelectionType()

Hi,

I’ve defined a TreeGrid (using a ResultTree if that matters?) with the following code:

		var treeGrid = TreeGrid.create
		({
			dataSource : myDataSource,
			isFolderProperty : 'isFolder',
			selectionProperty : 'isSelected',
			nodeIcon : 'node.png',
			folderIcon : 'folder.png',
			selectionAppearance : 'checkbox',
			leaveScrollbarGap : false,
			layoutMargin : 0,
			width : '100%',
			height : '100%',
			layoutMargin : 0,
			membersMargin : 0,
			visibility : 'hidden',
			data : myResultTree,
			fields : [ { name : 'caption', treeField : true } ]
		});

		if (isSingleSelect)
			treeGrid.setSelectionType('single');

Initially, the tree is setup using single selection, by issuing a treeGrid.setSelectionType(‘single’) API call.

Later, I dynamically call treeGrid.setSelectionType(‘multiple’), but when I do so the user can no longer
select/unselect the check boxes from any of the tree items … If I call treeGrid.setSelectionType(‘single’)
again, the user can then select tree items again …

I get this behavior using version 8 nightly build from July 7th, using FF 3.6.6.

I’ve searched but didn’t find anything … Any idea what I’m doing wrong?

Was anyone able to reproduce this behavior ? Any idea how to overcome this problem ?

Thanks,

This has been fixed internally and should be available in the next nightly build.

Thanks. We’ll pick it up tomorrow and give it a try.

Kind regards,

I confirm that the latest nightly build has resolved the issue.

Thanks again for your quick turnaround.

Regards,