ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

showTreeExpandNoChildren is not working as expected.

Open talasila66 opened this issue 11 years ago • 4 comments

showTreeExpandNoChildren: defaults to true. Shows the + even if there are no children, allows you to dynamically load children. If set to false there'll be no + if there are no children

I changed the value of showTreeExpandNoChildren to false in my grid options, still the + symbol is coming if there is no children also.

$scope.gridOptions = { enableSorting: true, enableFiltering: true, showTreeExpandNoChildren: true, columnDefs: [{ name: 'name', width: '30%' }], onRegisterApi: function(gridApi) { $scope.gridApi = gridApi;

} };

Using 3.0.0-rc.21 build which didn't contain code for showTreeExpandNoChildren.

Tried with also http://ui-grid.info/release/ui-grid-unstable.js which contains showTreeExpandNoChildren changes.

Can you please look into it?

talasila66 avatar Jun 02 '15 10:06 talasila66

http://ui-grid.info/docs/#/tutorial/215_treeView shows this, if you click the toggleExpandNoChildren button.

Is it also working for you?

PaulL1 avatar Jun 05 '15 23:06 PaulL1

will share my code today

talasila66 avatar Jun 08 '15 06:06 talasila66

showTreeExpandNoChildren: false, should be set to false

talasila66 avatar Jun 24 '15 20:06 talasila66

Im having the same issue mentioned by talasila66 but with a reverse effect. Although showTreeExpandNoChildren : true, im not getting an '+' symbols. Release version is v3.0.0-rc.21 - 2015-04-28. This doesn't contain any code for showTreeExpandNoChildren Has this been fixed?

shwetapurushe avatar Jul 24 '15 18:07 shwetapurushe