update bower version and dependencies
This commit is contained in:
30
bower_components/datatables-responsive/docs/api/responsive.rebuild().xml
vendored
Normal file
30
bower_components/datatables-responsive/docs/api/responsive.rebuild().xml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dt-api group="responsive">
|
||||
<name>responsive.rebuild()</name>
|
||||
<summary>Recalculate the column breakpoints based on the class information of the column header cells</summary>
|
||||
<since>1.0.4</since>
|
||||
|
||||
<type type="function">
|
||||
<signature>responsive.rebuild()</signature>
|
||||
<description>Recalculate the column breakpoints based on the class information of the column header cells</description>
|
||||
<returns type="DataTables.Api">DataTables API instance</returns>
|
||||
</type>
|
||||
|
||||
<description>
|
||||
It can be useful to be able to control the column breakpoint information that Responsive responds to after a DataTable has been initialised. For example you may wish to provide user control over which columns are visible. This can be done using code that will add or remove the class `never` ([the other classes](http://datatables.net/extensions/responsive/classes) can also be used) and then calling this method.
|
||||
|
||||
You will also likely wish to immediately call `r-api responsive.recalc()` to have Responsive update the display for the change in classes. Having this as a separate call allows multiple changes to be drawn at the same time to help improve performance.
|
||||
</description>
|
||||
|
||||
<example title="Hide a column completely by adding a class name and rebuilding"><![CDATA[
|
||||
|
||||
var table = $('#example').DataTable();
|
||||
|
||||
$( table.column( 2 ).header() ).addClass( 'never' );
|
||||
|
||||
table.responsive.rebuild();
|
||||
table.responsive.recalc();
|
||||
|
||||
]]></example>
|
||||
|
||||
</dt-api>
|
||||
@@ -7,7 +7,7 @@
|
||||
<type type="function">
|
||||
<signature>responsive.recalc()</signature>
|
||||
<description>Recalculate the widths used by responsive after a change in the display</description>
|
||||
<returns type="DataTables.Api">DataTables API instance with the cached data for each selected cell in the result set</returns>
|
||||
<returns type="DataTables.Api">DataTables API instance</returns>
|
||||
</type>
|
||||
|
||||
<description>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
Note that if you define your own array of breakpoints, ordering of the breakpoints is not important. Responsive will automatically sort the array into its required internal order before using it.
|
||||
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/init). This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Set custom breakpoints in the DataTables initialisation"><. This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Custom renderer which displays the data that has been hidden in an HTML table"><. This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Use the `column` control type and target the right most column"><. This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Use the `column` control type"><. This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Disable the details row display"><. This property should be set in the DataTables initialisation object.
|
||||
Please note that as with all other configuration options for Responsive, this option is an extension to the [default set of DataTables options](/reference/option). This property should be set in the DataTables initialisation object.
|
||||
</description>
|
||||
|
||||
<example title="Enable Responsive for a table"><![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user