Open sontek opened 11 years ago
Should I take a JS lib to do that. Or do you think we should do this using AJAX?
This should be done in JS.
FWIW, I do this in the dogpile addon:
It's not terribly hard to do and could be made more generic with a mako function, but at the least you would need to decide which columns are filter-able for the intended tables.
@jvanasco does your addon use datatables? I'm using it for another project, with a Bootstrap 4 style integration. Bootstrap 3 integration is also available for the version currently supported in the debugtoolbar. It's all JavaScript and can load data from JSON or whatever.
When looking at the routes or logging panels, sometimes it would be useful to have a fuzzy text search to find something specific. You can always use your browser's ctrl+f but sometimes its nice if the data is filtered out visually.