Index

  1. Home
  2. Docs
  3. Index
  4. Data Publisher
  5. Search panes

Search panes

A search pane is a user friendly interface to help users to filter table data. Search panes is a premium feature.

Adding search panes to a publication

The following examples activate the search panes feature for a publication (read more). Option stateSave is optional.

The first example adds P to the dom option which activate the search panes

{
	"dom": "Pfrtip",
	"serverSide": false,
	"stateSave": false,
	"searchPanes": {
        	"layout": "columns-2"
	}
}

The second example adds B to the dom and configures the panes button

{
	"dom": "Bfrtip",
	"serverSide": false,
	"stateSave": false,
	"buttons": [
		{
			"extend": "searchPanes",
			"config": {
				"layout": "columns-2"
			}
		}
	]
}

Limitations

  • Server-side processing is NOT support for search panes (serverSide must be false)
  • With serverSide = false all table data will be loaded to the client on page request
  • Search panes cannot be used for large tables

Inline demo

Click the SEARCHPANES button to show the panes.

FirstnameLastnameGenderEmailPhone NoCountryCountyCityZipcodeAddress
FirstnameLastnameGenderEmailPhone NoCountryCountyCityZipcodeAddress
Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *

seventeen + 9 =