Hello,
So I've been using fnAddData to add all of my data to my table. This has been working great so far but now I want to make it so that one column has a link saying "Click for more info" when thats clicked I want the row to expand and just show a couple of lines of text... Ive been trying to use fnAddData with an array of arrays to add the multiple rows at once but they arent being linked together like I want (the expanded row of data is being thrown at the bottom of the table, not with the row that was clicked and this is because the table is being sorted alphabetically based on the first column). Is there a way to insert just one row at a time so that when the button is clicked is just throws in the new row below the one that is being clicked on?? Or add just one row but have it span over multiple lines that I can hide and show using CSS?? Please let me know the best solution to accomplish this or if its not possible...
Thanks
So I've been using fnAddData to add all of my data to my table. This has been working great so far but now I want to make it so that one column has a link saying "Click for more info" when thats clicked I want the row to expand and just show a couple of lines of text... Ive been trying to use fnAddData with an array of arrays to add the multiple rows at once but they arent being linked together like I want (the expanded row of data is being thrown at the bottom of the table, not with the row that was clicked and this is because the table is being sorted alphabetically based on the first column). Is there a way to insert just one row at a time so that when the button is clicked is just throws in the new row below the one that is being clicked on?? Or add just one row but have it span over multiple lines that I can hide and show using CSS?? Please let me know the best solution to accomplish this or if its not possible...
Thanks