jQWidgets Forums
Forum Replies Created
-
Author
-
July 11, 2017 at 3:32 pm in reply to: GetCheckedRows + affected Parent Rows GetCheckedRows + affected Parent Rows #94845
Nevermind, I found an easy workaround with some lines of code. 🙂
July 11, 2017 at 12:00 pm in reply to: GetCheckedRows + affected Parent Rows GetCheckedRows + affected Parent Rows #94836Hello Stanislav,
unfortunately, that is not what I am looking for.
I have a treegrid with several entries and several layers. The users can check on the top layer to select all child entries in all layers below. Then they can uncheck further down the hierarchy, so the upper levels are no longer checked, but still displayed with a square in the checkbox field. These entries, I seem not get a hold of. But for checking several things, I would need to know which rows are all affected.
Take your example:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-hierarchical-checkboxes.htm
If I only select the Sales Department in Miami, it is the only value I get via getCheckedRows. The TreeGrid knows that Corporate Headquarters and Operation Division in Miami are affected by this selection and displays the checkbox with the square box. Is there any way I can get this information from the grid or the dataadapter, if you store the information there or do I have to figure out a way myself?Best Regard
KlausAugust 19, 2016 at 7:18 am in reply to: Sync 2 Grids via horizontal scrolling Sync 2 Grids via horizontal scrolling #86689Hello Hristo,
thank you for your answer. I just tested your suggestion and it works. Thank you!
Best Regards
KlausJuly 20, 2016 at 8:35 am in reply to: Sortable – 'update' event does not fire Sortable – 'update' event does not fire #85887Hi,
as I wrote a few days ago in my forum post http://www.jqwidgets.com/community/topic/jqxsortable-remove-an-element/ – received and removed events do not trigger as well, maybe you can also look into that.
Best Regards
KlausJuly 14, 2016 at 6:20 am in reply to: jqxSortable: Remove an Element jqxSortable: Remove an Element #85732Quick Followup:
The solution works, but the received or removed events are never triggered, so I empty the second sortable always when the stop event of the primary sortable is triggered. That’s more often than needed but does not seem to be a problem.May 13, 2016 at 7:48 am in reply to: Dropdown with optgroup from JSON data Dropdown with optgroup from JSON data #84337Hi Peter,
thank you, that works, so basically having a property named group seems to do the trick. I don’t know why it did not work in my example with addItem:
$("#jqxWidget").jqxDropDownList('addItem', { label: '11', value: '11', group: "1"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '12', value: '12', group: "1"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '13', value: '13', group: "1"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '14', value: '14', group: "1"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '15', value: '15', group: "1"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '21', value: '21', group: "2"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '22', value: '22', group: "2"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '23', value: '23', group: "2"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '24', value: '24', group: "2"} ); $("#jqxWidget").jqxDropDownList('addItem', { label: '25', value: '25', group: "2"} );
But this is even better!
Best Regards
KlausMarch 23, 2016 at 2:39 pm in reply to: Tooltip position problem due to page layout Tooltip position problem due to page layout #82772Hi,
one addition. I have another chart in the application – or better put a dynamic tab with multiple charts if the user configures it that way. There the workaround with setTimeout does not work, because I only get one element per jquery selector with id. So if you could just give the parent div (divToolTip) a css class like jqx-chart-tooltip-container or something like that, this would be great.
Best Regards
KlausMarch 22, 2016 at 1:52 pm in reply to: Tooltip position problem due to page layout Tooltip position problem due to page layout #82723Hello Ivailo,
I’m afraid I cannot recreate the behaviour in a appropriate amount of time – I’m no designer and the design is a bit above my understanding. I have however found a workaround. I check via setInterval if the contentDiv exists and once it exists I assign a css class to the parent div. Since the chart can be refreshed, I delete the parent div once I refresh the chart.
If you could assign the id to the parent div (divToolTip), it would be appreciated.
Best Regards
KlausDecember 9, 2015 at 2:43 pm in reply to: jqxValidator: Validate Password with Ajax request jqxValidator: Validate Password with Ajax request #79123Edit: all problems solved
December 9, 2015 at 2:38 pm in reply to: jqxValidator: Validate Password with Ajax request jqxValidator: Validate Password with Ajax request #79122Nevermind, I found my error, I used the return statement instead of the commit callback.
November 16, 2015 at 8:30 am in reply to: CheckBoxes and ExpandAll Problem CheckBoxes and ExpandAll Problem #78184Hello Peter,
thank you for the feedback. 🙂
Best Regards
KlausNovember 3, 2015 at 10:04 am in reply to: Problem with european number display Problem with european number display #77692Hello Peter,
yes, I see – I had only consulted the API and examples, in the documentation section it is explained better. I was confused because I can set the property with a negative value but can only get positive values via the property.
Thanks 🙂
November 3, 2015 at 9:15 am in reply to: Problem with european number display Problem with european number display #77686Could anyone please verify the difference between decimal and getDecimal?
October 30, 2015 at 10:39 am in reply to: Problem with european number display Problem with european number display #77564Hi,
I have found another odd behaviour or maybe my interpretation of the decimal property is incorrect. Using your example of http://jsfiddle.net/xppkmqxs/ and trying to get the number for a calculation, i used $(“#jqxNumberInput”).jqxNumberInput(‘decimal’)); which always gives me the positive value (at least in my format). $(“#jqxNumberInput”).jqxNumberInput(‘getDecimal’)); works correctly. I thought they should give me the exact same result.
So I use getDecimal and it’s fine, but is this behaviour intended?
Best Regards
KlausOctober 30, 2015 at 8:17 am in reply to: Problem with european number display Problem with european number display #77555Hello Peter,
thank you for the feedback. My understanding was the decimal parameter is always a number and the formatting is just the representation of the number and the controle does the formatting. I had the hunch earlier today that I have to set the number already formatted so I tried that and retrieve the number via decimal again – that returns me a real number which is fine and solves my problem. Thank you for the confirmation. 🙂
Best Regards
Klaus -
AuthorPosts