Why C1GridView responds slowly when dataset has more than 1,000 records?

Posted by: jetlee on 10 September 2017, 11:39 am EST

  • Posted 10 September 2017, 11:39 am EST

    I bound a dataset which has about 2,000 rows to C1GridView and not paged, when click row on client, C1GridView responded very slowly (abuout 5-10 seconds for each row selection changing).
    Is it normal?
  • Replied 10 September 2017, 11:39 am EST

    Hello,

    I am unable to replicate the issue with C1GridView build 2.0.20112.210. I have bound the grid with over 2000 rows and the row selection does not shown any performance issue.

    Could you please check your application with C1WebUI build 2.0.20112.210 which is available at the following url :
    http://prerelease.componentone.com/dotnet20/c1webui/2011-t2/C1WebUI.2_2.0.20112.210.zip

    If the problem persists then please share your sample.

    Thanks,
    Richa
  • Replied 10 September 2017, 11:39 am EST

    Hello JetLee,
    How many columns do you have in the table? I will try to work on a repro case if you can let me know. Also, do you have scrolling, fixed columns, or anything like that enabled on the C1GridView? Any other information that you can provide will be helpful.

    Regards,
    -Raleigh
  • Replied 10 September 2017, 11:39 am EST

    C1WebUI build 4.0.20101.72, bound dataset with 1343 rows and 11 columns, with one fixed row, both scrollbar. I test it by Microsoft Internet Explorer 6.0. It takes about 30 seconds for changing each row selection.

    Please review the attach files.

    Thanks,
    Jet
  • Replied 10 September 2017, 11:39 am EST

    Attach files.
  • Replied 10 September 2017, 11:39 am EST

    attachments
    2011/07/pic1.zip

    2011/07/code.zip
  • Replied 10 September 2017, 11:39 am EST

    This is IE6 problem. Try turning of client-side selection, highlighting of the current cell and hovering row:



    Having done that you can experiment a bit to see which of the properties above have the most impact on the performance.
  • Replied 10 September 2017, 11:39 am EST

    Thanks a lot. Can you give me some sample code to illustate how to " turn of client-side selection, highlighting of the current cell and hovering row"?
  • Replied 10 September 2017, 11:39 am EST

    Thanks a lot. Can you give me some sample code to illustate how to " turn of client-side selection, highlighting of the current cell and hovering row"?
  • Replied 10 September 2017, 11:39 am EST

    Set the following properties:
    SelectionMode="None"
    ShowCurrency="false"
    AllowRowHover="false"
  • Replied 10 September 2017, 11:39 am EST

    Thanks .
    When I set "SelectionMode=”None”", C1GridView responds very quickly!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels