Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
xamWebGrid slow to draw rows
posted

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

Parents
No Data
Reply
  • 2335
    posted

    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.

    Thanks

Children