<dx:GridViewCommandColumn Width="150px" ShowClearFilterButton="True"
ShowEditButton="True" ShowNewButton="True" ShowDeleteButton="True" />
...may be expensive. If you are showing all rows this column will make the grid load slow. There will be a blob of JavaScript inside a script tag for each row. The fix is to have a paginated grid and the option for showing all rows. Showing all rows after the page loads causes less heartache to the whole of the page loading as it struggles through all of the HTML. By the way, I noticed that the JavaScript in the script tags is wrapped inside of an HTML comment. This does not comment out the JavaScript. This is an old school practice from twenty years ago for making sure that browsers which cannot interpret a script tag do not display the JavaScript as copy.
No comments:
Post a Comment