Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Filterable data grid based on QDataGrid2 #885

Open
spekary opened this issue Jan 11, 2016 · 2 comments
Open

Create a Filterable data grid based on QDataGrid2 #885

spekary opened this issue Jan 11, 2016 · 2 comments

Comments

@spekary
Copy link
Member

spekary commented Jan 11, 2016

Filtering should not be in QDataGrid2 I think, but rather a subclass, like QFilterGrid.

Not sure it is needed, since DataTables provides filtering just fine.

@spekary spekary added this to the 3.1 Release milestone Jan 11, 2016
@olegabr
Copy link
Member

olegabr commented Jan 11, 2016

I like the @vakopian's idea with search panels. datagrids have no filters, but filter panel can be rendered to provide any filtering capabilities

@spekary
Copy link
Member Author

spekary commented Jan 12, 2016

The current architecture for list connector generation has a filter panel creation now. Currently it uses just one field, and filters everything based on that one field input, but it is easily overridden.

This particular issue is a marker to recreate the filtering capability of the old QDataGrid. The big problem with that implementation is that the code that generated the html for the column filter is in the database node. Data tables has a similar capability, but is limited to what it thinks is in the column. Some significant coding would need to be done to allow Datatables to generate the filters for type lists, or data ranges.

@spekary spekary modified the milestones: 3.2 Release, 3.1 Release Mar 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants