debayan31
debayan31
In that way I am navigating grid data and populating topGroupList[]. In this logic I am mentioning aggregated field "state" hard coded. But I am trying to pass aggregated field...
Kindly find above "screenshotLatest" for my data details. I have below field in my data table. 1) State 2) Gender 3) Full Name. 4) Age etc My Column Defn is...
My code is something like that: $scope.prepareBaseChartStructure = function () { var headers = []; $scope.gridApi.grid.renderContainers.body.visibleRowsCache.forEach(function (row) { if (row.groupHeader) { headers.push({label: row.entity.state, value: row.entity.name}); } }); }; I am...
I had defined my column definition where I had use onRegisterApi for gridApi. $scope.gridOptions = { enableSelectAll: true, saveFocus: false, saveScroll: true, paginationPageSize: 14, showColumnFooter: true, //showGridFooter: true, enableGridMenu: true,...
So how can I define "visibleRowCache" so that we can call forEach?
My current version of ui-grid-unstable.js v3.0.0.
angular.isArray($scope.gridApi.grid.renderContainers.body.visibleRowCache) value is coming TRUE. Although error is coming in below line: $scope.gridApi.grid.renderContainers.body.visibleRowsCache.forEach(function getTableVisibleContent(row) { //my logic... } Your quick response is really appreciated.
Thanks a ton Paul.
Hi Paul. Kindly refer above attached screenshot for proper understanding. Current size of $scope.gridApi.grid.renderContainers.body.visibleRowCache is 1 and groupLevel is 0 which is holding data for State INDIA. Logically in groupLevel...
PauL is it possible to provide any mail ID in which I will send whole code base so that you can just able to get exact problem when ever it...