Upgraded to v35 and downloaded the latest pdf and excel exporter goodies.
Filtering stops (partially) functioning after an export,regardless of export to excel or pdf.
#numeric_filter keeps working
#text_filter and #select_filter_strict stop working
A page refresh “fixes” this of course.
Help…
Unfortunately we can’t reconstruct issue locally, if it still occurs for you - please provide any kind of sample or demo link
Please see below demo
Open page, filters work. Save to either excel or pdf, and filters donot work anymore. Refresh the page and filters work again.
All files referenced in this demo were downloaded last weekend.
I used the same demo for my post: “Export to setNumberFormat values read as 0”
Demo
<link rel='STYLESHEET' type='text/css' href='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/dhtmlxgrid.css'>
<link rel='STYLESHEET' type='text/css' href='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css'>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/dhtmlxcommon.js'></script>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/dhtmlxgrid.js'></script>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/dhtmlxgridcell.js'></script>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js'></script>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/ext/dhtmlxgrid_math.js'></script>
<script type='text/javascript' src='../common/dhtmlxSuite_v35_pro_120822/dhtmlxGrid/codebase/ext/dhtmlxgrid_export.js'></script>
<div id="gridbox" style="width:725px; height:350px"></div>
<br><br>
<input type="button" name="" value="Get as Excel" style="width:300px; font-weight:bold;" onclick="mygrid.toExcel('../common/dhtmlxSuite_Goodies/grid-excel-php/generate.php');"><br><br>
<input type="button" name="" value="Get as PDF" style="width:300px; font-weight:bold;" onclick="mygrid.toPDF('../common/dhtmlxSuite_Goodies/grid-pdf-php/generate.php');"><br><br>
Problem confirmed and fixed, please use the attached dhtmlxgrid_export.js instead of the original one.
dhtmlxgrid_export.zip (2.95 KB)
Confirmed, works perfect. Thanks!!!