News for hackers. Stuff that matters.
Re:Show HN: Tabulator – Easy-to-use JavaScript library for i... by aasasd on Friday November 30, 2018 @11:58AM (#18570435)
I've had a brief stint pairing this lib with Angular and server-side pagination while also trying to dance around Django's CSRF requirements on a local machine (aka two separate ‘servers’ for Angular and Django). That was a rather mixed experience, Tabulator mostly prefers convention so bending it to fit an opinionated framework like Angular is awkward. IIRC I still had to deal with data requests via Angular and from Tabulator itself. Never managed to put CSS styles for Tabulator in component styles instead of global ones.

Long story short, for Angular there are similar widgets that also happen to be more popular. I didn't end up using them, so can't say for sure, but I imagine they fit more nicely with the framework they were made for.

Also, dunno if anything changed, but six months ago Tabulator could use some fine tuning in regard to UX with pagination: if the table is scrolled to the right, on every filtering or pagination operation the position is reset to zero (but not on the table headers, notably). There's also no support for more interesting filtering like number ranges, so I'd need to whip up widgets for that myself.

And, for some reason, the lib sent two data requests every time filters were changed.

Re:Show HN: Tabulator – Easy-to-use JavaScript library for i... by olifolkerd on Friday November 30, 2018 @12:06PM (#18570490)
Hey Aasasf,

Thanks for your feedback.

A lot has changed in the last 6 months, Tabulator now has its own react component, and the filter issues have been resolved.

There are also examples of how to build range filters in the example section.

If you have any particular areas of concern feel free to raise an issue on GitHub and they will be resolved.

As for tighter integration with frameworks, in the next release Tabulator will have a reactive data mode, that will allow it to change as data is changed in the column and data arrays, making it simpler that ever to work with the same design paradigm as modern frameworks