javascript - How do I put a grid into a cell of another grid with ExtJS 4.1 -
i read rowexpander feature of grids in extjs, works, name suggests, rows. i'd put grids single cells of grid, display detailed data. read possible nest component extjs4, can't find example of this.
what want do:
use big grid data, 1 field of records has >20 sub-entries. put in 1 row, 1 field should 1-column grid in 1 field of every row. user can scroll 1 cell , keep width of rows small.
id | hits | key/value 1 | 123 | = 2rtr --------------------- 2 | 234 | = 53jgh --------------------- 3 | 345 | = 10asd <--- 1 column table/for scrolling | | b = 111asd | | c = 123adsad | | ... --------------------- 4 | 456 | b = xyz
with lot of work might able embed grid cell never recommend that. if can work perform badly. grids not meant nested tables. perhaps can use header grouping instead want.
otherwise can define custom renderer column injects html table
Comments
Post a Comment