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.!
I just tested the Grid.ExpandAll() method in NetAdvantage 6.2.20062.34 and did not have any issues. Where in the code are you calling the ExpandAll method. I would move it to the GroupColumn event of the WebGrid if it is not there already.
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.
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 :)
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?
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.