Note that there are some explanatory texts on larger screens.

plurals
  1. POExtJS Grid storing Cell State automagically
    primarykey
    data
    text
    <p>I am porting quite a huge piece of software to an ExtJS Grid. Lots of data (and I mean lots of data) is loaded on-demand into spans that are placed inside grid's cells.</p> <p>Imagine grid cells having <code>&lt;span id="foo_bar'&gt;&lt;/span&gt;</code> as content, and special ajax handlers are polling the backend for updated information and once available the spans are filled with it.</p> <p>Now, in case I collapse some part of the grid and then re-exand them again I loose all automatically filled cell content, and am left with empty spans (which I started from in the first place).</p> <p>I know the correct way is to setup a store and push all data into the store. But as I've mentioned above: I am porting quite a huge piece of legacy software to ExtJS, and I do not really have much choice here.</p> <p>Is there a way to automagically push grid cell values to the store?</p> <p><strong>Update:</strong></p> <p>A grid is loaded with, suppose, 2000 cells (this can vary tremendously). Every cell contains various grades of HTML, mostly this is , but this can be pretty much anything (including several spans or divs in one cell). In the background there is a comet process pushing new data to the HTML page almost in real time. This data is populated to the corresponding SPANS and DIVs either based on their IDs or class or both.</p> <p>What I want to achieve is that either: a) the model for the grid is atomagically updated with the new html content of the cells (how can I achieve this)? b) when collapsing/expanding tree's nodes the model data is NOT reloaded afresh. </p> <p>Is either a or b possible? if so — how?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload