Hello again,
Can i use the GridRenderer directly ?
If so, how can i get cellClick event to bubble ?
Thanks,
Lou
Hello again,
Can i use the GridRenderer directly ?
If so, how can i get cellClick event to bubble ?
Thanks,
Lou
Using the GridRenderer directly is going to be pretty tricky - not recommended in most cases.
What are you trying to achieve - we can probably suggest a more appropriate approach
Thanks
Isomorphic Software
ok,
As of now we used the CubeGrid to make a 2D grid (ie: cartesian map).
But rendering and action are very slow on the CubeGrid when you have a lot of row/cols in the grid. (especially on slower machines)
But, we need to see ALL the rows/cols at the same time. My idea was to use the GridRenderer to speedup the process.
Maybe i can use the ListGrid but i need to have ‘special’ header like with a cube grid where you can have a header for rows and a header for columns.
Thanks,
Lou
Hi Skaos
It probably is easiest to just use a ListGrid for this rather than trying to use GridRenderer as a standalone component.
You could easily apply a custom cell style to the first column and populate it with “header” information, or render your component as 2 ListGrids (a row-header grid and the main grid), next to each other in an HLayout.
Hope this helps - let us know if you need more specific help, or if you find performance is still and issue
Thanks
Isomorphic Software
Hi,
Experimenting with the ListGrid, i have managed so far to make a very nice simulation of a CubeGrid and faster!
BUT i need to manage individual cells selection is that possible with a listGrid ?
I can only select and manage ‘record’ right now, it the only thing missing for my prototype to be complete. If i can’t get individual cell selection i’m back to case 0.
Thanks!
Lou
Hi Skaos,
Sorry for the belated reply. There’s no way to just enable cell-by-cell selection for the ListGrid. If what you need is just single cell selection (no shift-, ctrl- or drag-selection) it would be pretty easy to build that via overrides of cellClick(), getCellStyle(), etc.
Otherwise, you could ask Isomorphic to generalize the CubeGrid’s cell selection feature so that it works with the ListGrid’s simpler data model, as a sponsored feature addition.