jQWidgets Forums
Forum Replies Created
-
Author
-
Hello Peter,
my code and the example both stem from the jqxTreeGrid example, therefore it is no surprise the code was identical. The only difference in the given example it worked, in my example it did not work always.
The good news is, I figured it out why.
If the bottom area of the color picker is outside of the grid and I click in one of the inputs, the dropdown closes, updaterow trigger fires etc. The color picker stays open but is not updating the cell anymore.
You can recreate this problem by setting the height of your grid to 200 for example.
In the original treegrid example that problem does not seem to occur. Could you verify that please and check if that’s maybe fixable or if one should use a treegrid when using colorpicker.
Kind Regards
KlausApril 8, 2014 at 7:33 am in reply to: Filter with Custom DropDownList Column Filter with Custom DropDownList Column #52686Hello Peter,
I have created two fiddles with two grids each to copy from the top to the bottom:
Try it one time with “United” and one time with “UK” please.
The second:
http://jsfiddle.net/49z22/Go in the name column, select the top 3 entries, click transfer filter and open the name filter in the bottom, filter works, but only the last checkbox is checked.
setGridFilter function is identical in both examples.
Regards
KlausApril 7, 2014 at 8:33 am in reply to: Filter with Custom DropDownList Column Filter with Custom DropDownList Column #52614PS: I stumbled upon another problem with checkedlist on a text field, the filter works and if I go back to a site again, the filter is applied correctly, but only the last checkbox is checked.
Here’s the code of the function I use to reapply filter I get from getfilterinformation, maybe there’s an error in there:
for (var i = 0; i < filterGroups.length; i++) { var filtergroup = new $.jqx.filter(); var filters = filterGroups[i].filter.getfilters(); for (var j = 0; j < filters.length; j++) { var filter1 = filtergroup.createfilter(filters[j].type, filters[j].value, filters[j].condition); filtergroup.addfilter(filters[j].operator, filter1); } $("#"+gridID).jqxGrid('addfilter', filterGroups[i].filtercolumn, filtergroup); $("#"+gridID).jqxGrid('applyfilters'); }
Hello Peter,
thank you for the answer, changing the DOCTYPE solved the problem.
Best Regards
KlausFebruary 24, 2014 at 7:26 am in reply to: Bug with custom dropdown list Bug with custom dropdown list #49962Hello Peter,
if it is supposed to be that way, I’m okay with it and can get to the value from the object. The fact that oldvalue was a string and newvalue was an item from the dropdown list seemed odd.
Regards
KlausFebruary 20, 2014 at 11:16 am in reply to: keyDataField has to be unique? keyDataField has to be unique? #49812Hello Peter,
thank you, I found the problem why it did not work with the string, as for unique, I have to look for a workaround.
Regards
KlausFebruary 20, 2014 at 10:32 am in reply to: keyDataField has to be unique? keyDataField has to be unique? #49808Hello Peter,
I have a unique key in my data source, but it is not the keyDataField, so there’s no way to seperate keyDataField and id for the lower level branches of the tree?
I also tried to use another column which is the series of the different positions in hierarchy concatenated which should be unique but is a string – but the result was that there was no hierarchy created at all. Does the keyDataField has to be a numeric value?
Regards
KlausFebruary 19, 2014 at 3:59 pm in reply to: Tree Grid defining first level elements Tree Grid defining first level elements #49775Hello Peter,
thank you for the confirmation.
February 6, 2014 at 9:22 am in reply to: Breaking Change update from 3.1 to 3.2 Breaking Change update from 3.1 to 3.2 #49073Thanks for version 3.2.1 that fixed my problem.
February 5, 2014 at 1:53 pm in reply to: Breaking Change update from 3.1 to 3.2 Breaking Change update from 3.1 to 3.2 #49010I ran into the exact same problem without using a jqxWindow or Tab.
I have a grid and beneath a table to edit the data from the selected row. Initially the table is hidden and only gets visible once a row is selected and after the input fields were initialized. The browser reported the same error message as above (Chrome) and FireFox said this.input is undefined in line 699.
After reading this thread and looking in the source code (a height calculation) I switched my code that the table is set to visible first and then all the fields are initialized. The datetimeinput the caused the problem after the upgrade worked after that change again. So the field has to be visible for the initialization to work.
January 29, 2014 at 3:51 pm in reply to: Excel Export and background color Excel Export and background color #48625Hello Dimitar,
the example works. I got my case to work as well, the only difference is in the use of cellclassname. If I use a function for cellclassname the excel export works correctly. If you use a string, the excel export only has the background color in the first grid row (you can check by modifying your example). It shouldn’t make a difference in grid usage though? In the browser it works.
Regards
KlausJanuary 20, 2014 at 3:56 pm in reply to: Autohide not working as described Autohide not working as described #48120If I change autoHideDelay to 10000 in the example above, it still disappears after the default three seconds – and I see now the subject should have been autohidedelay not working as described.
January 8, 2014 at 9:14 am in reply to: Custom Lookup and Full Row Edit error Custom Lookup and Full Row Edit error #47524Hello Peter,
thank you for the quick response.
December 16, 2013 at 9:07 am in reply to: Deactivate Spinning on mousewheel Deactivate Spinning on mousewheel #46575Hello Peter,
okay, thanks. I think that would be useful though, if you use the mouse wheel to scroll down on a page you can change numbers by accident.
Regards
KlausDecember 10, 2013 at 7:29 am in reply to: Problem with Filter and Aggregates Problem with Filter and Aggregates #46264If you use this example:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/aggregatesrenderer.htm?arcticand add filterable and showfilterrow as options and then filter the first name on “Lars”, then “Larss” and then “Lars” again, you should see the behaviour. A little feedback would be nice, even if only aknowledgement that you’re looking into it.
-
AuthorPosts