EitanBlumin / CRUDE-ASP

Low Code Application Generator in Classic ASP, with MSSQL Database, Bootstrap, Fontawesome, and jQuery. Based on the AdminLTE web template.
https://git.eitanblumin.com/CRUDE-ASP/
Mozilla Public License 2.0
24 stars 13 forks source link

When removing URL filter, column dropdown boxes don't reflect change #111

Open EitanBlumin opened 5 years ago

EitanBlumin commented 5 years ago

After removing a filter set by a URL parameter, the items filled in the dropdown box of column filters is not set to reflect all available values in the table.

EitanBlumin commented 5 years ago

May need to re-render column filters on every draw event. On the other hand, this may still not be good enough because I think the data would only be retrieved from current page and this may cause lost values.

Other than reverting to displaying all Dropdown values, I'm not sure what else to do. Maybe use datatable values only when there's only one page to display? But then we would lose values when other filters are used.

Damnit I don't know what to do. Bah.

EitanBlumin commented 5 years ago

The solution offered in #115 could be useful to solve this issue