KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Datables SearchPanes init ? #1527

Open APS opened this topic on on Jul 13, 2020 - 1 comments

APS commented on Jul 13, 2020

Hi, Is there a specific way to activate/configure the SearchPanes Plugin with Datatables ? I'm trying the basic initialization, and i'm always having the message : "No SearchPanes"

...

"options"=>array(
				"order"=>array(
					array(0,"asc"),
				),
				"paging"=>true,
				"pageLength" => 20,
				"searching"=>true,
				"dom" => 'PBfrtip',
				"buttons" => [
					"copy", "csv", "excel", "pdf"
				],
			),
			"plugins"=>array("Buttons", "SearchPanes"),

...

I tried also to rebuild searchpanes like this, but it also doesn't work :

...

<script type="text/javascript">
		KoolReport.load.onDone(function() {
			$('#table').DataTable().searchPanes.rebuildPane();
		} );
		</script>

...

Thx for your help,

David Winterburn commented on Jul 13, 2020

Hi,

We have no problem with loading search panes using the code you provided. Would you please send us a link to your page where this happens for us to investigate the issue? Email the link if it's private. Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None