Tagging rows as a certain filter type and saving this tagging action
Tagging rows as a certain filter type and saving this tagging action
I have searched the forums extensively but havent seen anyone come up with (what seems to me) a common scenario..
Basically i have a table of data (HTML DOM loaded), i want to be able to select certain rows from this data and then apply a tag to these rows so that a dropdown can be select to view all data of a certain tag.
Eg. Search and filter my data then have a checkbox column that would allow selection of these rows
Of the rows selected then a tag would be able to be applied.
This tag would be saved against these rows which would then allow a filter to be applied.
I can see there are components here:
1) Adding a checkbox column (I think i have seen example code how to do this)
2) Saving each of the columns that has a checkbox ticked as a "tag" value - I dont have a good feel for the JQuery code required to reference the items that are selected and prompt for a "tag" name (and push to a save function in DB function)
3) Filter the data table according to a dropdown box of tags that have been created - Ive seen some examples of filtering however ill need to update based on the tag - So if im looking at an "untagged" view of data.. and i tag 3 rows as "Investigation" i want those rows to disappear as they are no longer in the "untagged" view
Im using the flat html generated table solution as im not experienced with JQuery/AJAX but i have a suspicion this might work better with ajax? - eg refreshing the dataset as filters are applied?
Any assistance would be much appreciated.
Matt
Basically i have a table of data (HTML DOM loaded), i want to be able to select certain rows from this data and then apply a tag to these rows so that a dropdown can be select to view all data of a certain tag.
Eg. Search and filter my data then have a checkbox column that would allow selection of these rows
Of the rows selected then a tag would be able to be applied.
This tag would be saved against these rows which would then allow a filter to be applied.
I can see there are components here:
1) Adding a checkbox column (I think i have seen example code how to do this)
2) Saving each of the columns that has a checkbox ticked as a "tag" value - I dont have a good feel for the JQuery code required to reference the items that are selected and prompt for a "tag" name (and push to a save function in DB function)
3) Filter the data table according to a dropdown box of tags that have been created - Ive seen some examples of filtering however ill need to update based on the tag - So if im looking at an "untagged" view of data.. and i tag 3 rows as "Investigation" i want those rows to disappear as they are no longer in the "untagged" view
Im using the flat html generated table solution as im not experienced with JQuery/AJAX but i have a suspicion this might work better with ajax? - eg refreshing the dataset as filters are applied?
Any assistance would be much appreciated.
Matt
This discussion has been closed.