jQWidgets Forums
Forum Replies Created
-
Author
-
August 14, 2020 at 5:29 am in reply to: TreeGrid Column Cells Alignment TreeGrid Column Cells Alignment #112675
Oddly, when I use the ‘metrodark’ theme it aligns children properly. Classic, energyblue does not. ??
August 14, 2020 at 5:04 am in reply to: TreeGrid Column Cells Alignment TreeGrid Column Cells Alignment #112673Hello Peter,
My tree grid does not move (render) its children to the right – i.e. all children data show directly under the parent when I click the arrow.How is this done?
Thanks.
Any ideas how I might hook that in myself?
tyHello,
When performing a multisort is there a way to show the number for the order of the sort?
– e.g. grid with 4 columns A, B, C, D
sort by col B, C, A would show headers with B(1), C(2), A(3)Currently user has no way to understand the primary order of sorts!
Thanks.
RobJuly 22, 2020 at 6:06 pm in reply to: Callback function while export Callback function while export #112471Hello Hristo,
Our users typically export data in excel format for further analysis. The work-around poses other problems for our users as it’s not intuitive for them and requires more work on their side to merge files in order to analyze.Rob
July 15, 2020 at 3:33 am in reply to: Callback function while export Callback function while export #112416Hi Hristo,
I see that this post is three years old and this is exactly what I am looking for.
So, the question is – when a large dataset is to be exported, e.g. 10k records, the export hook is fired off and the UI seemingly hangs until the request is completed on server side. I’ve had users think the app/browser was frozen since it took 7-10 seconds (or more) to complete request – and this is with the export.php program running on same box.
$(grid).jqxGrid('exportdata', type, fileName, exportHeader, rows, exportHidden, serverUrl);
There does not seem to be a way to make an AJAX-like call with a callback to prevent the UI from hanging and also display a progress dialog.
Has anything been done for this callback feature or can you offer a work-around?
Thanks.
RobMay 5, 2020 at 1:51 am in reply to: There is a problem when applyting multiple filters through loop There is a problem when applyting multiple filters through loop #111906Hello,
Please disregard and mark as closed. It is working as expected by looping through i.jqx.filters
Thanks.
RobMay 2, 2020 at 9:33 am in reply to: There is a problem when applyting multiple filters through loop There is a problem when applyting multiple filters through loop #111889Hello,
Please help me understand how to apply a previously saved filter. I do not understand the example.I save a copy of the current filter using ‘getfilterinformation’ and successfully stash the following array:
{…}] 0: datafield: "currentState" displayfield: "currentState" filter: i.jqx.filter {operator: "and", evaluate: ƒ, getfilterscount: ƒ, setoperatorsbyfiltertype: ƒ, getoperatorsbyfiltertype: ƒ, …} filtercolumn: "currentState" filtercolumntext: "Current State"
1) is there a way to simply apply the whole saved state as the filter? seems you cannot and must iterate.
So, I get the first value:
{filter: i.jqx.filter, datafield: "currentState", displayfield: "currentState", filtercolumn: "currentState", filtercolumntext: "Current State"} datafield: "currentState" displayfield: "currentState" filter: i.jqx.filter {operator: "and", evaluate: ƒ, getfilterscount: ƒ, setoperatorsbyfiltertype: ƒ, getoperatorsbyfiltertype: ƒ, …} filtercolumn: "currentState" filtercolumntext: "Current State"
It seems that filter is already a filterGroup – i.e. i.jqx.filter and datafield “currentState”
I try to apply the filter using
$('#jqxgrid').jqxGrid('addfilter', 'currentState', filtergroup); $("#jqxgrid").jqxGrid('applyfilters');
The filter never gets applied.
I have looked at the examples and still cannot determine what I am missing.
Can you please assist.
Thank you.
RobExcellent! Thanks, Peter!
April 1, 2020 at 1:53 am in reply to: Grid does not refresh on window resize Grid does not refresh on window resize #111587This still continues to haunt me when a window resize or splitter resize occurs. The suggested solution by nigel does not work 100% of the time. Window resizing and splitter resize will still render 1) half-drawn grids OR 2) squished columns OR 3) missing toolbar buttons.
The only way I can get a full redraw is to perform full ‘render’ and then all is reset like groupings. The screen shot I provided before is still prevalent even with production build 9.0. https://ibb.co/vQQTKJ1
Is there a ticket out there for this?
Please assist.
Thanks.
RobOops! My bad. I was looking for demos in the source folder not the production folder. Thanks!
One more really important question regarding something that seems VERY useful. When the grid has ADAPTIVE mode on, and you click the ellipsis at the end of the row, the form that pops up is EXACTLY the data representation I am looking for! I.E. it displays the row as you see it in the grid. Is there a way to hook into that same logic that you use for creating that form? That would be INCREDIBLY USEFUL!
Thanks.
RobHello Martin,
Is there a way to get this to render using the cellsformat – e.g. “cellsformat: f2” and produce the same rendered result – e.g. 1,254.99
Or do I also need to have a cellrender function?
Thank you
RobMarch 26, 2020 at 3:45 am in reply to: jqxdropdownbutton in grid toolbar jqxdropdownbutton in grid toolbar #111545Thanks, Hristo but that doesn’t really solve the problem because the list widget is SELECTING an item as opposed to simply performing an action like a bootstrap dropdown button (https://getbootstrap.com/docs/4.0/components/dropdowns/). I do not think jqwidgets has the equivalent functionality.
Appreciate your time on this,
RobMarch 6, 2020 at 12:28 am in reply to: grid export with grouping and grouped aggregates grid export with grouping and grouped aggregates #108322Hello,
I too am trying to use this new feature. I tried to follow example and use type XLSX. I get
a.jqx.dataAdapter.DataExporter is not a constructor
I have
<script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.export.js"></script> <script type="text/javascript" src="../jqwidgets/jqxgrid.export.js"></script> <script type="text/javascript" src="../jqwidgets/jqxexport.js"></script>
Also running dataexport.php on my own server. Notice that mimemtype xlsx is not there.
Ideas how to get this to work?
Thanks.
Rob -
AuthorPosts