Pinging the grid heads: @bernhard @jmartsch @mel47 @dragan @szabesz
In short, I have modified RockGrid to work with Tabulator instead of ag-Grid. I left out ajax and plugins for now. I fully understand, if Bernhard is not interested in switching the "engine" of RockGrid, but at least it is food for thought and a proven alternate solution ?
The "HackGrid" can be found here: https://github.com/mestaritonttu/FieldtypeRockGrid/tree/tabulator
Longer story:
During the last week of November I ran into Tabulator by accident. It occurred to me "someone in the early days of RockGrid suggested some other solution". I searched the PW forums and found out that someone was szabesz and the solution was Tabulator! Now, the important thing here is that since the PW forum discussion (April 2018), Tabulator has seen significant changes. It got rid of jQuery & jQuery UI dependencies and added a ton of features.
Why have I decided to switch to Tabulator?
Lately ag-Grid has left a bad taste in my mouth
- the performance of its row autoheight sucks, so I had to work around it
- inside the autoheight workaround I had to add another workaround to avoid an infinite event triggering/listening loop
- the closed nature is showing its bad sides more and more, like not being able to see the content in their enterprise bug tracker
So what do we get with Tabulator?
- row autoheight that just works
- dropdown filter out of the box, so I don't need my awkward external filter
- features matching the enterprise version of ag-Grid, such as http://tabulator.info/docs/4.1/select#setup-range http://tabulator.info/docs/4.1/group http://tabulator.info/docs/4.1/download#xlsx http://tabulator.info/docs/4.1/tree http://tabulator.info/examples/4.1#nested-tables http://tabulator.info/docs/4.1/clipboard
What are the philosophical differences? In the words of the Tabulator main dev, ag-Grid focuses on being a fully functional spreadsheet while Tabulator goes more down the route of interactive table.
I would have announced this already nearly 3 weeks ago, but caught pneumonia ?
Use on the RockGrid side is really not much different. Mostly just using col.title instead of col.headerName. For some reason the grid.js stuff is lost (to get the field titles), but I did not have time to investigate.