jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 144 total)
  • Author
    Posts
  • in reply to: ColorPicker in jqxGrid ColorPicker in jqxGrid #52713

    Klaus H
    Participant

    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
    Klaus


    Klaus H
    Participant

    Hello Peter,

    I have created two fiddles with two grids each to copy from the top to the bottom:

    http://jsfiddle.net/qRb2E/3/

    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
    Klaus


    Klaus H
    Participant

    PS: 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');
       }
    in reply to: Problem with Tabs and IE Problem with Tabs and IE #50676

    Klaus H
    Participant

    Hello Peter,

    thank you for the answer, changing the DOCTYPE solved the problem. 🙂

    Best Regards
    Klaus

    in reply to: Bug with custom dropdown list Bug with custom dropdown list #49962

    Klaus H
    Participant

    Hello 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
    Klaus

    in reply to: keyDataField has to be unique? keyDataField has to be unique? #49812

    Klaus H
    Participant

    Hello 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
    Klaus

    in reply to: keyDataField has to be unique? keyDataField has to be unique? #49808

    Klaus H
    Participant

    Hello 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
    Klaus


    Klaus H
    Participant

    Hello Peter,

    thank you for the confirmation. 🙂


    Klaus H
    Participant

    Thanks for version 3.2.1 that fixed my problem.


    Klaus H
    Participant

    I 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.


    Klaus H
    Participant

    Hello 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
    Klaus


    Klaus H
    Participant

    If 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.


    Klaus H
    Participant

    Hello Peter,

    thank you for the quick response. 🙂


    Klaus H
    Participant

    Hello 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
    Klaus


    Klaus H
    Participant

    If you use this example:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/aggregatesrenderer.htm?arctic

    and 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. 🙂

Viewing 15 posts - 91 through 105 (of 144 total)