Hi,
I need to programatically deselect all records in a TreeGrid, and then select its parent record in the same TreeGrid.
After a user manually selects a record, I have the screenshot 1.png. That is correct.
After programatically deselecting all records, and selecting the parent record, I have the screenshot 2.png. As you can see, the previously selected record is now deselected, but I still see the marked record. When I move the mouse around, this disappears, but I need this mark to disappear immediatly, so only the new selected record (the parent record) is marked.
I do this with
I am using SmartGWT EE 3.0.
I need to programatically deselect all records in a TreeGrid, and then select its parent record in the same TreeGrid.
After a user manually selects a record, I have the screenshot 1.png. That is correct.
After programatically deselecting all records, and selecting the parent record, I have the screenshot 2.png. As you can see, the previously selected record is now deselected, but I still see the marked record. When I move the mouse around, this disappears, but I need this mark to disappear immediatly, so only the new selected record (the parent record) is marked.
I do this with
Code:
treeGrid.deselectAllRecords(); treeGrid.selectRecord( treeNode );
Comment