Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82607

how to select certain rows and tag them

$
0
0

I have 1000 rows table ; i need a way to select certain rows and tag them as reference rows. and certain other rows as target rows. insert the first column with that information. say if I selected 1,3,7,10 as my reference rows and 2,4,5,6 as my target rows. I want the new first column to show that Tag name.
for example in this testcase http://live.datatables.net/xilamifu/1/edit
the selection criteria is like get all office=london and tag them as reference get all office=san francisco rows and tag them as target. so selection button should take office or salary or any other column dynamically by user choice. they can use any column information to select.
when i view the complete page it should have first column (Tag column) of those rows marked Reference or Target or empty ie no tag.
I tried to insert Tag column i got check-box but it is overwritten by Name. I want to select boxes there one for reference and one for target. and depending on tag those check-boxes should get checked.
Can you please help me in achieving this.
As of now, i made a simple page where there is no tag column, but i select only one row as reference and another row as tag and compare those two rows. but I want to do multiple comparisons with this selection mechanism.
your help is greatly appreciated.

thanks,
Uma-


Viewing all articles
Browse latest Browse all 82607

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>