Search
14683 results 171-180
Reference
state()
› Get / set the state of the tablewill give and take information about the table assplice()
› Modify the contents of an Api instance's result set, adding or removing items from it as required.DataTables API. For more information about the original method,sort()
› Sort the elements of the API instance's result set.DataTables API. For more information about the original method,slice()
› Create an independent copy of the API instance.DataTables API. For more information about the original method,shift()
› Remove the first item from an API instance's result set.DataTables API. For more information about the original method,settings()
› Obtain the table's settings objectDataTables keeps information about the state ofrows().invalidate()
› Invalidate the data held in DataTables for the selected rowsDataTables holds cached information about the contents ofrows().every()
› Iterate over each selected row, with the function context set to be the row in question.used to select the information from the first tablerow().invalidate()
› Invalidate the data held in DataTables for the selected rowDataTables holds cached information about the contents ofrow().child
› Row child method namespaceexample, to provide extra information about the parent row,
Forum
- 12th Jun 2012Adding extra info to excel fileThanks :-)
- 3rd May 2012Is it possible to append custom info to pdf?I hav no idea how to do this, no clue abt AS3 so if anyone fixed this pls help is badly needed
- 10th Apr 2012Fixing Header and InfoCan you link to an example showing the problem please? I don't quite understand what you mean by: thead segment appears OVER the sdom segment, effectively obscuring it since thead is inside the sDom options (the 't' table option). At a guess without being able to see it, it sounds like to need to add a clear:both option somewhere. Allan
- 14th Dec 2011Info Needed- Can sorting on specific columns can be disabledThanks a lot fbas :) I missed that.
- 18th Oct 2011Paging info incorrect[scratch that. read that you have the solution]
- 10th Oct 2011Table content width don't match info bars width when with complex headers and inside tabMy fault. I just realized that I called .tabs() after .dataTable(). Stupid mistake. Is there a way to delete thread? :)
- 1st Jun 2011Server Side Processing, more infoFOUND_ROWS was succeeding, but it was based on the number of rows included with DisplayStart and DisplayLength factored in, which was always just that one page worth of data, rather than all eligible rows. so I took out the $sLimit when calculating the number of rows (and $sOrder was meaningless in the SELECT COUNT() query as well): [code] $sQuery = " SELECT ".str_replace(" , ", " ", implode(", ", $aColumns))." FROM $sTable $sWhere $sOrder $sLimit "; $rResult = mysql_query( $sQuery, $gaSql['link'] ) or die(mysql_error()); /* Data set length after filtering */ $sQuery = " SELECT FOUND_ROWS() "; // change this to SELECT COUNT(*) FROM $sTable $sWhere [/code] this view from MySQL command line illustrates this: [code] mysql> select qaid from qabook limit 10; +-------+ | qaid | +-------+ | A_1 | | A_10 | | A_100 | | A_101 | | A_102 | | A_103 | | A_104 | | A_105 | | A_106 | | A_107 | +-------+ 10 rows in set (0.00 sec) mysql> select found_rows(); +--------------+ | found_rows() | +--------------+ | 10 | +--------------+ 1 row in set (0.00 sec) [/code]
- 5th Apr 2011Change Language of _info and _lengthSo I searched a bit in the html file and found that the content-language never change. BUT I have another Plug-In and there I can find a property called "tx_indexedsearch[lang]", which changes it's state if I change the language on the HP. So my only Problem now is, if and how I can get access to this property. Does somebody know a solution (I've been working with Websites since a few days so I don't know so much yet :S) All the best ChrizzleWhizzle Update: So I got the JS thing working to read the set language but when I want to fill the dataTables it throws the following message. "DataTables warning: Cannot reinitialise DataTable. To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy to true (note that a lot of changes to the configuration can be made through the API which is usually much faster)." HELP ;D
- 4th Apr 2011Info added during fnServerData call not send to the serverNo worries I found it; even if I read it 20 times (at least) it did not register in my brain that I needed to have a Name/value pair as in [code]data.push({name:'Whatever_name', value:"whatever_value"});[/code] So everything works now
- 21st Jan 2011Moving footer info to header areasDom is the way to do that: http://datatables.net/usage/options#sDom http://datatables.net/examples/basic_init/dom.html Allan