Search
43638 results 7381-7390
Forum
- 4th Apr 2010How to best achieve custom rendering for a table columnFirst off, got to say that datables looks awesome. Now onto my issue, I have a datatable with ajax datasource (not server side processing). One of my columns is a list of colors (i.e. #232132), so what I wanted to know is how to best achieve this: I want the cell background with a particular color to be of that color, so if the cell content comes with #ff0000 I want the background for that cell to be of #ff0000, since I am quite new with datatables I wanted to know how to achieve this effect having the datasource returning only a json array of the values Thanks.
- 19th Mar 2010State Save, Server Side Ajax Tables, and Table Tools - Cookie problem.Has anyone else using this configuration come across a problem where you goto the print page, then hit the escape button to go back, and error is caused where you lose pagination. If you delete the cookie used to store the state save information, then it will be fixed temporarily, until you try and do that same set of steps again. Here is the actually Cookie itself. [code] {"iStart": 150,"iEnd": 75,"iLength": -1,"sFilter": "","sFilterEsc": true,"aaSorting": [ [0,'asc']],"aaSearchCols": [ ['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true]],"abVisCols": [ true,true,true,true,true,true,true,true,true,true,true,true]} [/code] Could the problem possibly be iLength = -1?
- 13th Mar 2010Multiple table w/ addrow and deleterow functionsSorry if repost.... I couldn't get this... It took me a whole day but nothing works... read some of the post on this forum still I can't do it... I do think Im a slow learner... Please HELP me Sample table(both table1 and table2) should look something like: Name ImANoob moveToTable1 I think the algorithm is like this.. [code] var oTable;; $(document).ready(function() { oTable = $('.dataTable').dataTable(); } ); /* Add a click handler for the delete row */ $('#moveToTable2').click( function() { oTable.dataTableExt.iApiIndex=0; var nTr = oTable.fnGetData(this); oTable.fnDeleteRow( nTr ); oTable.dataTableExt.iApiIndex=1; oTable.fnAddRow( nTr ); } ); [/code]
- 23rd Jun 2025Allow empty or existing value not in list when submit editor formam sending to the table publikasjon while the select
- 22nd Jun 2025Database Driven DataTable With No Includesi.e. index.html with the table tags and the thead
- 20th Jun 2025Could Not Find Driver (SQL Server)my machine. DataTables warning: table id=example - An error occurred
- 19th Jun 2025Custom search function in conflict with global searchfunction to filter the table and the user could
- 19th Jun 2025Correct way to use validator(Validate::required()) -> crashesDataTables warning: table id=example - Invalid JSON response.
- 19th Jun 2025ColumnControl: SearchList does not appropriately parse charactersto search the entire table), the filtering works as
- 18th Jun 2025columnControl searchList not working for Booleans and numbersdoes not filter the table for Boolean and number