Search
14048 results 351-360
Reference
searchPanes.panes.header› Define the header for custom panesAs standard, Custom panes will be titled with the string "Custom Pane". Setting searchPanes.panes.header to any other string value will cause that string to be displayed in the title of the Pane.searchPanes.panes.className› Add a custom class for a custom 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 searchPanes.panes.className option within an object of the panes array, this will apply the custom class to that pane.searchPanes.i18n.emptyMessage› Add internationalisation to the empty message displayed as a pane optionEmpty cells will be represented in the panes by the option searchPanes.i18n.emptyMessage. 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. This value supersedes searchPanes.emptyMessage (deprecated) and columns.searchPanes.emptyMessage. If it is desired for those values to be used searchPanes.i18n.emptyMessage should be undefined, as it is by default. When this is the case the two previous options will be used. This option will default to the value given by language.searchPanes.emptyMessage, which should generally be preferred over this option as the language strings can be loaded by Ajax and shared for the whole table, but if needed, this option is available to override that on a per instance basis.searchPanes.emptyMessage› Deprecated. Set custom empty messagecolumn corresponding to this SearchPane.searchPanes.rebuildPane()› Rebuild the pane, regathering options from the table.This method provides the ability to rebuild the panes should a change occur on the associated DataTable. If no argument is provided to searchPanes.rebuildPane() then all of the panes will be rebuilt. Otherwise, the searchPanes.rebuildPane() function takes in the index of the pane. The index of the panes include hidden panes and custom panes - to rebuild the second column's associated pane call searchPanes.rebuildPane(1). As custom panes come after the column's panes, to rebuild the first custom pane where a table has five columns then the command to run would be searchPanes.rebuildPane(5) (note counting starts from zero). A second parameter is available which allows the selections to be maintained when a rebuild is called. It is a boolean value with a default of false.searchPanes.clearSelections()› Clears the selections in all of the panesThis method provides the ability to clear all of the selections that have been made in the panes should a change occur on the associated DataTable. searchPanes.clearSelections() takes no argument - all selections are cleared in every pane.language.searchBuilder.valueJoiner› Set the text between the value input elements where two are requiredThis will set the text between the two value input elements, by default this is 'and'. This language option is available in custom conditions and plugins also.language.searchBuilder.value› Set the placeholder text for the SearchBuilder value `-tag select` elementThis will set the placeholder text for the value select element, by default this is 'Value'. This dom element is available in custom conditions and plugins also.language.searchBuilder.data› Set the placeholder text for the SearchBuilder data `-tag select` elementThis will set the placeholder text for the data select element, by default this is 'Data'. This dom element is available in custom conditions and plugins also.language.searchBuilder.conditions› Define custom condition names for SearchBuilder conditionsThis option allows custom conditions to have their names customised. This object contains the following properties, whose value is a further object of the type language.searchBuilder.conditions[type]. More details for the types can be found at columns.type. string - Condition names for string and html conditions. date - Condition names for date, moment and luxon conditions. number - Condition names for simple numbers, and formatted numbers, including html with no formatting array - Condition names for array conditions More details on the structure that is used can be found at language.searchBuilder.conditions[type].
Forum
- 13th Apr 2022Display sum of column instead of counting rows in search panese in the first search pane that for example
- 13th Apr 2022Search pane filter that returns the top 10 highest valuesthe strings in a search, along with any other
- 11th Apr 2022Alphabet Search Reset Sorting along with DropdownsYou are using this search: column .search(val ? '^' + val + '$' : '', true,
- 11th Apr 2022Search in two columns with multiple values separated by a pipeIn the search plugin you can use any supported Javascript method like regex search(). Kevin
- 9th Apr 2022Grouping in search paneWhen I think about it, this should not be possible as the search panes only contains unique values. There is nothing to group on. Right?
- 9th Apr 2022Change "No data" in search paneThanks! Is it possible to somehow target an indiviual search pane?
- 6th Apr 2022Column Filter SearchBecause that's a dynamic element, you need to get the val() of the select during the search. This example here demonstrates input elements, the same applies for select, Colin
- 6th Apr 2022ServerSide processing failed on search & PostgreSQLOne additional thing - worth noting that since you are using server-side processing, it is only possible to search in ISO8601 format.
- 31st Mar 2022Search Fuction not foundbelieve the API's, like search() is available in 1.9.
- 28th Mar 2022Why is my search returning only one result?the users, and just search on "ACV ACY", and