Hi,
How can I expand all the rows in an outlookgroupby grid upon rendering the page? I used expandAll() in a previous version, but it does not work. I am using NetAdvantage 6.2.
Any help will be greatly appreciated.!
ExpandAll(true) is not working with LoadOnDemand.
dgGrid.DisplayLayout.LoadOnDemand =
LoadOnDemand.Automatic;
How to get ExpandAll functionality with LoadOnDemand.Automatic?
Thanks!
I have just tried the suggestion in this post http://community.infragistics.com/forums/p/12598/46800.aspx#46800
Here they says to override the InitializeGroupByRow Event and to use the following code
void UltraWebGrid1_InitializeGroupByRow(object sender, RowEventArgs e) { e.Row.Expand(true); }
This works. Maybe the ExpandAll method might also work when called here.I do not yet know, but this sample does work for me.
Bunty,
Tried your suggestion and it does not work. The grid is of Viewtype OutlookGroupBy.
Are there perhaps any other settings that could influence this? LoadonDemand, Browser? Could you send me the aspx and code of an example where this method is used succesfully?
Normal 0 false false false MicrosoftInternetExplorer4
Hello,Please try to call ExpandAll Method in the PreRender event of UltraWebGrid and it will work for you.Bunty :)
I have a Similar Issue. I Call the ExpandAll Method in the InitializeLayout Event.
First I state which columns have to be grouped, which have to be shown and then at the very endI call the ExpandAll() method, but the grid does not expand.