Rows
-
Hi , congratulations for TablePress , it’s great !
I am designing my boards and I’m stuck for days , I send the details to see if you can help :
The table still does not contain any data or is finished , this is the link:What I’m trying is:
1 – search by ingredients within a category , thanks to TablePress I’ve done quickly !
2 – In the rows found , the intention is that the user selects to print or save or copy or …
I installed TableTools but I can not activate the row select or multiselect rows to send to pdf or xls or csv or print ….
It is easy to send TableTools , but select to send …. how I can do ? where I put or modify the code?
When modify the line 60 in TableTools file disappears search filter . It does not work if I enter the code in the table.This is what says the file on line 60 :
$ tabletools_options = ‘ { ” sSwfPath “: ” ‘ . $ swf_path . ‘ ” , ” aButtons ” : [ { ” sExtends ” , ” copy” , ” sButtonText “: ” “} , {” sExtends ” : “csv ” , ” sButtonText “:” “} , {” sExtends “:” xls ” , ” sButtonText “:” “} , {” sExtends ” : ” pdf ” , ” sButtonText “:” “} , {” sExtends ” : ” print “, ” sButtonText “: ” “} ] } ‘ ;
And this is the DataTables code :
$ (document). ready (function ( ) {
????$ (‘ # example ‘ ) . dataTable ( {
????????” MODS ” : ‘T < ” clear”> lfrtip ‘
????????” oTableTools “: {
????????????” sRowSelect ” , ” multi” ,
????????????” aButtons “: [
????????????????{
????????????????????” sExtends ” : “csv ” ,
????????????????????” bSelectedOnly “: true
????????????????}
????????????]
????????}
????} ) ;
} ) ;What is the correct way to select rows inserted without losing TablePress properties or TableTools ?
I have read in the forum, but nothing .can you help me please ?
Oops , sorry for my english!Thanks !
- The topic ‘Rows’ is closed to new replies.