All,
I've been searching the interwebs and haven't found a "scientific" answer.
I built a rather nice business application, with a fatal drawback. I rely heavily on tables, not because I want to but because I need to display 3 - 5K of detail records. Basically each screen is a table with data and a couple of other buttons.
The grid loads via an Ajax call and the TR/TD tags are created in a JS loop.
-- There are onclick and dblclick events on my rows.
-- Cells widths are set in pixels
-- External (& minimized) JS & Css files.
If I view the generated source of the page it is around 3.5MB. View-state is negligible since the table is client side only.
What I am looking for is an answer as to why JS becomes very sluggish as the page size increases. If I click a button that has nothing to do with the grid, why does it take 1 minute plus for the event to fire?
* Sine scientia ars nihil est
* Respondeat superior
I've been searching the interwebs and haven't found a "scientific" answer.
I built a rather nice business application, with a fatal drawback. I rely heavily on tables, not because I want to but because I need to display 3 - 5K of detail records. Basically each screen is a table with data and a couple of other buttons.
The grid loads via an Ajax call and the TR/TD tags are created in a JS loop.
-- There are onclick and dblclick events on my rows.
-- Cells widths are set in pixels
-- External (& minimized) JS & Css files.
If I view the generated source of the page it is around 3.5MB. View-state is negligible since the table is client side only.
What I am looking for is an answer as to why JS becomes very sluggish as the page size increases. If I click a button that has nothing to do with the grid, why does it take 1 minute plus for the event to fire?
* Sine scientia ars nihil est
* Respondeat superior