hoffstadt / DearPyGui_Ext

Dear PyGui Extensions: A collection of useful tools, abstractions, and simplification layers built with/for Dear PyGui users.
https://dearpygui-ext.readthedocs.io/en/latest/
MIT License
78 stars 13 forks source link

Data Grid Widget #2

Open hoffstadt opened 3 years ago

hoffstadt commented 3 years ago

Feel free to comment additional suggestions.

Background

Although the table API is powerful, it is not the most friendly API for users wanting to quickly display data and requires a lot of manual setup. A higher level API written on top of the table API is desired. Something similar to the 0.6 simple table API but more powerful.

Required Functionality

Methods

This will be object oriented and thus will be operated on through various methods. Below are the current public non-obvious methods:

DataExplorerUser commented 3 years ago

Here are some suggestions. Not sure if they are superfluous or too difficult, but here goes.

DataExplorerUser commented 3 years ago

With regard to performant, I'd like to add that it should be performant to 1) load data, e.g. from a Pandas dataframe 2) interact with the datagrid, e.g. show, scroll, filter data and the like.

DataExplorerUser commented 3 years ago

Be able to retrieve the filters, etc. that have been applied to the data by the end user. For example, if the end user wants to export the data selection, you would need to know the applied filters.

rdoursenaud commented 2 years ago

This seems very interesting for my project! I’d like to have the ability to fill the table from the top, in anti-chronological order without any fuss. i.e. appending a row results in it being displayed just under the header. I haven’t found a reliable way to do this in the current table implementation and using the before parameter of dpg.table_row() doesn’t seem to work.

weigao-123 commented 1 year ago

Please add this feature, and this will be very useful for date science baed project, thank you!