A high-level data table with backend pagination that includes business query conditions, data addition, deletion, modification, and query, and dynamically renders operation buttons based on permissions #5551
Replies: 1 comment 1 reply
-
|
Hi @jinhong-china, thank you for sharing this feature request! I have a few thoughts on this proposal: Clarity of the request The current description is quite broad and combines multiple complex features (backend pagination, CRUD operations, permission-based UI rendering, business query conditions). To better evaluate this, it would help to have:
Viability assessment Whether this fits into NiceGUI core depends heavily on the actual implementation. NiceGUI follows a philosophy of simplicity and keeping the core library focused on fundamental UI building blocks. A high-level data table component with business logic integration would need to:
Without seeing a concrete implementation, it's difficult to assess whether this would fit well into the core library or if it would add too much complexity. Alternative approach Given the scope and business-logic-specific nature of this feature, it might be better suited as a separate package that builds on top of NiceGUI. This approach has several advantages:
If you're interested in pursuing this, I'd suggest:
If you're interested in pursuing this as a separate package, I'm sure the community will help if there's demand for such a solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Create a data table directly using the following code
Let me first explain the functions of this table:
The original intention of developing this advanced data table is that the official components are too basic, and the actual project requires a much richer functionality of the data table For example, batch editing and deletion functions, export and import functions, and so on may also be required For the convenience of future development, I have encapsulated this advanced data table, and all functions are implemented based on the native methods of Nicegui I don't know if the official plan is to develop advanced data table components like this If you are interested in my job, can I create a PR?
Beta Was this translation helpful? Give feedback.
All reactions