Updates on the TableView / DataGrid #872
Pinned
israel-dryer
started this conversation in
General
Replies: 1 comment 3 replies
-
|
Some features that would be handy (you've probably already thought of them): |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on the TableView / DataGrid features right now and thought I'd share some exciting new features that will be in v2. This widget alone will allow you to create a simple app with CRUD operations and persistent storage in just a few lines of code.
Forms Included
I've added a new Form and FormDialog widget that is integrated into the table. What does this mean? It means you get a very easy and built-in way to add and edit data.
FYI - This very much still in development, so things may ultimately look or act differently...
Consider this example. I'm adding an empty dataset... but, I'm defining the shape of the columns.. and the shape of the Form.
With this small amount of code, I get a fully functional data grid with a form, backed by a SQLite database.
Query & Search
The searchbar, when activated, includes some search strategies that you can use. As before, the default search will search ALL columns.
Traditional search with options
Powerful SQL-based search
However, if you need something more surgical... you can use a SQL query.
Context Menus
I'm updating the context menus for headers & cells. However, I'm also working on an idea for a customizable toolbar, which could be very useful. Global table functions could be place there optionally instead of hiding everything behind a context menu.
Datasources
Several datasources are supported, including SQLite for in-memory and local storage (makes it easy to create a quick persistent application).
Also will support generic objects, CSV, TSV, JSON, and a few others.
Plug-ins will be provided by myself or the community down the road to support more robust data grid functionality. But, initially, I want to get the basics out there and then upgrade it from there.
Speed & Performance
Things are speeding up a lot.
Here are some benchmarks:
More to come
There are a lot of great features coming. As I said, I'm working out the features at this very moment, so I thought I'd share with you some of what's going on.
Let me know your thoughts as well as your ideas for this widget.
Beta Was this translation helpful? Give feedback.
All reactions