I have an application using xamWebGrid and in the demo configuration it displays just 357 rows. The data are instances of a simple CLR object of 11 properties of value types: datetime (3), enum (2), string (2), int (2), bool (2).
The empty grid is displayed quickly but the time from setting the data source to displaying the data is ~5 seconds. Initially this is quite confusing for users who are unaware they should wait so press F5 to refresh the page. We've put in a "Loading..." message on screen to inform the user but there does not seem to be an event fired by the xamWebGird once the data is displayed. Without such an event we don't know when to remove the loading message.
So two questions: why the delay? There is not a lot of data. Secondly, is there an event that will fire once the display is presented?
Thanks
Bill Seddon
Hi, I am having similar problem, with a grid having 25 columns and about 100 rows. I have make following settings
<igGrid:XamWebGrid.RowSelectorSettings> <igGrid:RowSelectorSettings Visibility="Visible" EnableRowNumbering="True" > </igGrid:RowSelectorSettings> </igGrid:XamWebGrid.RowSelectorSettings> <igGrid:XamWebGrid.SelectionSettings> <igGrid:SelectionSettings ColumnSelection="Multiple" RowSelection="Multiple" ></igGrid:SelectionSettings></igGrid:XamWebGrid.SelectionSettings><igGrid:XamWebGrid.SortingSettings> <igGrid:SortingSettings AllowSorting="False"></igGrid:SortingSettings></igGrid:XamWebGrid.SortingSettings>
<igGrid:XamWebGrid.EditingSettings> <igGrid:EditingSettings AllowEditing="Cell" IsMouseActionEditingEnabled="DoubleClick" IsEnterKeyEditingEnabled="True" IsF2EditingEnabled="True" IsOnCellActiveEditingEnabled="False" /></igGrid:XamWebGrid.EditingSettings>
I am facing following problems:1. Overall application load time bit high about 20 seconds.2. Overall application response time is very slow.3. Keyboard typing in a cell is very slow. 4. Grid Scroll is very slow.
Furthermore, this issue is basically related with number of columns instead of number of rows. I've tested same program with 5 Columns and 10000 Rows without paging and it is working fine. No Keyboard event delays nor application response problem and significant change (better) load time but the same program causes problem with 30 rows with 25 columns.
Hello,
The mentioned case and the related development issue regarding slow performance were created to find a way to improve the performance of the XamDataGrid when expanding a record. However, the reported scenario had a large number of fields (Columns) which results in inserting a great number of elements into the visual tree of the application, which is the main culprit in this issue.
So far, we were able to make some improvements on this matter. We have kept this issue opened in order to be able to go back to it, revisit it and try to find other ways for improvement.
We would appreciate if you can share any additional information on the scenario/ your environment that might be helpful.
I was amazed by how slow the grid was performing (running from Visual Studio). As a test, I published out the web site and ran it outside the debugger and it was SO MUCH FASTER !!
And I hope anyone else experiencing an presentation performance issue also see an improvement bit I'm guessing you are looking at different problem.
We were alerted to the issue by a user (usinga publicly available release build) who had difficulties which arose from impatience at the time taken to display rows. We see no material difference in performance between release and debug builds.
Hi,
Just as an update, 10.1 was released a couple days of ago, and we added a lot of performance improvements to the grid, specifically in loading. These enhancements weren't just made in 10.1, they will also be in our next 9.1 and 9.2 Service Releases.
-SteveZ
Hi Steve
Thanks for the news about the performance improvements. We updated our software to use 10.1 and believe we are seeing an improvement in the time to render the display (after the data has been retrieved) from ~5 seconds to ~1 second. So good job.
Bill