Is there a way to hide the igGrid Summary Total row as the default on opening of the page? I have looked everywhere on the Infragistics developer forum and cannot find anything. Anyone come up with a solution to this? Thanks in advance.
Asked
Active
Viewed 649 times
2 Answers
0
I don't know much about the igGrids, I've never used them.
I did some reading on summary rows, and it looks likes you actually have to add code to have them show up. They are called Column Summaries. Here's a reference, if it helps.
http://help.infragistics.com/Help/Doc/jQuery/2012.1/CLR4.0/html/igGrid_Features_Landing_Page.html

CZabransky
- 28
- 3
0
To hide the summary row:
$("#gridName").igGridSummaries("toggleSummariesRows", false, null);
This gets tricky when dealing with Hierarchical grids but this pseudo code should work for that:
foreach primaryKeyValue in myDataSource
$("#gridName_" + primaryKeyValue +"_" + subgridkey +"_child").igGridSummaries("toggleSummariesRows", false, null);

Flair
- 2,609
- 1
- 29
- 41

good enough
- 31
- 4