|
Re: Any plans for Web/Theia based NatTable? [message #1857110 is a reply to message #1857104] |
Wed, 18 January 2023 05:14 |
Dirk Fauth Messages: 2902 Registered: July 2012 |
Senior Member |
|
|
Short answer: No
Longer answer:
I had plans in the past to at least make the NatTable Core independent of the UI framework and create renderers for other UI frameworks like JavaFX or HTML. This is quite a huge task, and it failed until today because of a lack of time and resources. I would still like to see this in the future, but probably there are some more tasks to do in advance to attract more people that would help with this. Or at least attract someone who would be willing to sponsor such a task.
Anyhow, I don't think this would help in making it available for Theia. The reason is that even making the NatTable Core independent of SWT, it would be still written in Java. Theia is a web-application. That means there are actually no Java background processes by default and everything in the UI should actually be HTML, CSS and Javascript/Typescript. Although possible, introducing a Java background process just for rendering a table doesn't seem to be a good idea. Which actually would mean that the whole codebase would need to be rewritten in Javascript to make it available in a web-application. That is a very huge task, and actually I am not sure if it would be suitable, as the architecture of NatTable is based on Canvas. It means it has all data in memory while only the visible part is rendered. For a web-application that also doesn't make much sense, as it would mean you always need to send all data from a server to a client and then operate on the data there.
From my point of view it doesn't make much sense to have NatTable ported to the web. There are probably already a lot table implementations for the web out there, that are better suited for web scenarios.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02435 seconds