Search
9136 results 5801-5810
Forum
- 27th May 2011How would I use DataTables with CouchDB view interface?I've not used it myself, but assuming you get JSON data back from and XHR (assuming you want to use XHR) then you can use the options in DataTables 1.8 to consume virtually any JSON data source: http://datatables.net/blog/Extended_data_source_options_with_DataTables Allan
- 27th May 2011How do I reload DataTables with new JSON data?Given the way you've implemented it, there are two options: Destroy the table and initialise it again Call the API method fnClearTable and then fnAddData to add you new data (I'd say this one is preferable). Allan
- 26th May 2011Table Collapsing on Content - When Single Roware a number of options to address this at
- 25th May 2011Custom Columns with Server Side processingerror occured retrieve report options'); } } } }); [/code] This is how
- 25th May 2011TableTools and Server Side PipeLinedata you have two options: You can make an
- 23rd May 2011Negative Exclude Except search exampleelTxt.length >= options.captureLength In the options code above, set captureLength:
- 23rd May 2011Custom classes for specific instances of the tablethe number of initialisation options manageable and sane :-) Allan
- 20th May 2011Default value for sLengthMenuStill took me a few attempts to get this to work: this selects 100 by default, change iDisplayLength to 10 or -1 for the other options: [code] $('#datatable_id').dataTable( { "iDisplayLength": 100, "oLanguage": { "sLengthMenu": 'Display '+ '10'+ '100'+ 'All'+ ' records' } } ); [/code]
- 18th May 2011fnUpdate when using deep property reading for a data sourcefnRender. Quite a few options in this area now
- 18th May 2011fnAddDataTwo options - you can use the new data source options in 1.8: http://datatables.net/blog/Extended_data_source_options_with_DataTables - or you can simply construct a 1D array from each object and pass that to fnAddData (e.g. [ a[i].number, a[i].value ... ]). Allan