After table is loaded, how can i use an input field to create a filter to redraw the table.

After table is loaded, how can i use an input field to create a filter to redraw the table.

asystemsausasystemsaus Posts: 15Questions: 5Answers: 0

I have a table which is filled from a mysql db. Table loads ok but i now need to be able to sort to only show data with a particular column. Search works perfectly but once refreshed all columns are again shown. I want to be able to keep what is sorted.
I have a select field, and a button which gets the selected filter option.
My question is: how to redraw the table using this field ?
any help greatly appreciated.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @asystemsaus ,

    i now need to be able to sort to only show data with a particular column

    This will be implementation specific - it really depends on what you're doing here, which would cause those columns to again be shown. Because of that, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.