Is it possible to create merged cells in SlickGrid? If not, then what other javascript grid solutions allow merged cells.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
I have got some codes when using formatter to merge cells in the differnect rows. Tin, please can you check this solution, maybe it's not the best one, but it works fine. thanks.
1) reference VerCellMerged formatter
2) declare noneline-bottom style, render options object, and a function to return datasource in the page
3) write render codes related with these two events of dataview in the javascript file
4) VerCellMerged formatter source code
If you mean cells spanning across multiple columns, this is supported via "colspan" as demonstrated in this example - http://mleibman.github.com/SlickGrid/examples/example-colspan.html.
Spanning cells vertically across multiple rows is not supported.