hi,
I am having two issues
1) i ve a page which allows user to enable\disable paging. when user disable paging all records[around 500] are displayed.I am using UltraWebGrid1.Browser = BrowserLevel.Xml;e.Layout.LoadOnDemand = LoadOnDemand.Xml;
now when i do it in Firefox it respond very very faster then in IE. why it is?
2) Main Problem
now when i grouped the rows it start showing rows in collapsed group. when i expand a group it work fin. But when i again try to collapse the group it collapse the group but it change the collapsed header size to the size of expanded group [which depends on the number of rows in the group.
Am i missing something?
Try set set RowHeightDefault of DisplayLayout like this:
<DisplayLayout LoadOnDemand="Xml" RowHeightDefault="20px" ...
The problem happens when you set Browser="XML" in the UltraWebGrid tag. Remove that and it works perfectly.
ClarkBattle said:I would also love to know how to set it so that the groups are open by default.
After you databind the grid and ensure all columns are grouped, call it's ExpandAll() method. You might want to do this as late as the PreRender() event, to make sure that any implicit databinding has finished.
amir4it said:1) i ve a page which allows user to enable\disable paging. when user disable paging all records[around 500] are displayed.I am using UltraWebGrid1.Browser = BrowserLevel.Xml;e.Layout.LoadOnDemand = LoadOnDemand.Xml; now when i do it in Firefox it respond very very faster then in IE. why it is?
Firefox processes JavaScript much more efficiently than Internet Explorer. WebGrid uses a lot of JavaScript objects when it has so many rows of data.
amir4it said:2) Main Problem now when i grouped the rows it start showing rows in collapsed group. when i expand a group it work fin. But when i again try to collapse the group it collapse the group but it change the collapsed header size to the size of expanded group [which depends on the number of rows in the group. Am i missing something?
I'm not sure why this is happening. You may want to submit a support request so that a Developer Support Engineer can investigate this more in-depth.
I am having the same problem #2.
Basically, when you open a group it expands to allow for the groups members. But when you close the group it does not contract again. It simply greys them out rather than resizing to a single row.
I would also love to know how to set it so that the groups are open by default.