Search
23683 results 81-90
Reference
columns.searchPanes.header› Set the title of the SearchPaneAs standard, SearchPanes will set the headers of the pane based on the title of the corresponding column. This option customises that text in the pane's header.columns.searchPanes.emptyMessage› Set custom empty messages for specific panesEmpty cells will be represented in the panes by the option columns.searchPanes.emptyMessage for that specific column. This is useful as it's a more user-friendly way than just having a blank cell. The value is passed through the i18n() function. Note, this value is only used if searchPanes.i18n.emptyMessage and language.searchPanes.emptyMessage are undefined. If this is the case then this value will over-ride the global value searchPanes.emptyMessage for this specific column.columns.searchPanes.dtOpts› Define properties of the DataTables being used for an individual paneAs standard, SearchPanes will overwrite the options for that column defined by the SearchPanes code with the options defined in columns.searchPanes.dtOpts. As Standard SearchPanes internal DataTable has a layout property set to show only the table, if you are added paging or something visual then you must also modify the layout option. This functionality is useful as it allows all of the standard DataTables options and API methods to be available to all of the the panes, either globally or individually. All of the panes can be altered by using the searchPanes.dtOpts option.columns.searchPanes.controls› Hide the Control buttons and disable searching in the pane of a specific columnAs standard, SearchPanes will be displayed with the control buttons included in the interface and searching will be enabled. However if the value of columns.searchPanes.controls is set to false then the control buttons will no longer be displayed and searching will be disabled. The control buttons can be hidden and searching disabled for all of the panes by making use of searchPanes.controls.columns.searchPanes.combiner› Set the type of logic to be implemented on the paneAs standard, SearchPanes will use OR logic when multiple selections have been made. However at times it may be desirable to implement AND logic instead, for example to eliminate rows from the dataset. Note: When using columns.searchPanes.combiner along with searchPanes.cascadePanes you must make sure that your data is appropriate for the selection that you make. searchPanes.cascadePanes was developed with the default or logic in mind, using and logic will work in the majority of cases, but may yield some unexpected results when deselecting in a very small amount of cases. Note: When using columns.searchPanes.combiner with array data the row will be returned if all of the selections are present within the array, although other data may also be present.columns.searchPanes.className› Add a custom class name to a paneBy setting a class name, specific panes can be targeted for custom styling. Custom Panes can have custom classes applied in a similar way to how columns.searchPanes.dtOpts are applied to panes. You can declare the columns.searchPanes.className option within an object of the columnDefs array - this will apply the custom class to that pane.searchBuilder.columns› Restrict which columns can be filtered onThis option is an alias to searchBuilder.columns, which should be preferred when using DataTables 2+. It can be used to configure SearchBuilder regardless of how the panes are inserted into the document (layout or searchBuilder). Please refer to the documentation for searchBuilder.columns for full details of this option.columns.searchBuilderTitle› Set a custom title for a column in SearchBuilderThis value allows a custom title to be set for any column within SearchBuilder. If a value is set then it will be used to represent the column in the "data" select element. If it is not set then the title of the column will be used instead. In both cases any html that is present will be stripped.columns.searchBuilder.orthogonal› Set values of orthogonal data for rendering functionsthat is defined by columns.render. columns.SearchBuilder.orthogonal is also availablecolumns.searchBuilder.defaultCondition› Set a default condition for this columnSearchBuilder uses this option to decide which option within the condition select should be initially selected when a user selects that column to filter. By default SearchBuilder will select the first item in the condition select, which is typically the condition title.
Forum
- 5th Sep 2024How to highlight in hidden columns?to highlight in hidden columns? I would like to
- 11th Oct 2021MultiColumn Ordering - LImit to only 2 columns at a timeIs there a way to limit the multi column ordering to only 2 columns at a time? On the client side, I want to allow users to sort up to 2 columns at a time.
- 7th Aug 2024Rowgroup and excel export. How to keep different columnsrowgroup keeping ALL the columns (instead a only one
- 9th May 2024Hiding columns via display: none breaks the layout in DataTables 2tables that have some columns hidden via display: none,
- 30th Jul 2024dataTables and Bootstrap Table header columns collapsing to the leftsame with the header columns all squashed together on
- 24th Jul 2024Data not getting displayed for dynamic columnsif ($.fn.DataTable.isDataTable('#cons-pd-datatable')) { $('#cons-pd-datatable').DataTable().destroy(); } var columns = []; columns.push({ data: "prod_name", title:
- 21st Jul 2024Modify multiple columns based on one valuetype: 'POST' }, serverSide: false, columns: [ { data: null, defaultContent: '', className:
- 18th Jul 2024Classnames in columns not applieddata": null } ], columms: dtColumns, /* columns: [ {data: "inv_number", className: "row-inv_number",
- 12th Jul 2024How to configure responsive.details to ignore the first column and display details for other columnsI tried different configuration but no luck, i want to ignore the first column and display details when the rest of columns are clicked . responsive: { details: { type: 'column', target: 1 } }, columnDefs: [ { className: 'dtr-control', orderable: false, targets: [1, 2, 3, 4] } ],
- 12th Jul 2024Dt Simple Sort ColumnsI use the following columns structure throughout my site.