jQWidgets Forums

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Max value for jqxNumberInput Max value for jqxNumberInput #13241

    vdo
    Participant

    Hi Peter,

    I get it now. Thx. I have to set both digits and max property otherwise I’ll see the behavior in my previous post.

    myGrid[1].initeditor = function(row, cellvalue, editor){
    editor.jqxNumberInput({digits: 15, max: 999999999999999);
    }

    in reply to: Max value for jqxNumberInput Max value for jqxNumberInput #13103

    vdo
    Participant

    Thanks for your help. Setting the digits property does the trick. The only minor issue I noticed is that when in edit mode it show only 8 digits.

    For example (I use the initeditor for the grid column):

    myGrid[1].initeditor = function(row, cellvalue, editor){
    editor.jqxNumberInput({digits: 20, decimalDigits: 0, spinButtons: false});
    }

    I was able to input a value such as 235,000,000,000. When click on it again to go into edit mode, it shows only 8 digits => 23,500,000. I don’t think it should be chopping off current value like that. Is it a bug or am I missing something? Thanks.

    in reply to: Max value for jqxNumberInput Max value for jqxNumberInput #13098

    vdo
    Participant

    How can I input a value of say 1,000,000,000 into the jqxNumberInput as part of the grid cell it seems that the max value it allowed is 99,999,999.

    Setting the max value doesn’t work

    editor.jqxNumberInput({ max: 1000000000, spinButtons: false});

    in reply to: Grid knockoutjs integration Grid knockoutjs integration #3328

    vdo
    Participant

    Hi Peter,

    Thanks for all the help. I can run your sample code just fine. I have been scratching my head with this issue for quite sometimes this morning. When the grid is empty, I made a foreach loop and can display data from the knockout binding just fine. It turned out to be some configuration related issue with WebStorm and knockout.

    Thanks,

    Vincent

    in reply to: Grid knockoutjs integration Grid knockoutjs integration #3316

    vdo
    Participant

    Hi Peter,

    That’s correct. I already changed the url to reflect the correct path but still don’t see any items on the grid. I was able to debug it and see that the data get in correctly using WebStorm. Bottom line, doesn’t seem like the knockout binding is working for me. As stated earlier, I tried the same example w/o using knockout and it’s working fine for me. Not sure what else I can try to make it work with knockout and jqxGrid.

    Thanks,

    Vincent

    in reply to: Grid knockoutjs integration Grid knockoutjs integration #3314

    vdo
    Participant

    Hi,

    I copy and paste the sample code above and have the link to point to the right script files and url for beverages.txt but I’m seeing an empty grid. Did I miss anything? I was able to checkout other example just fine except for knockout. Below’s the error I’m seeing in my console tab using WebStorm IDE. Thanks for your help.

    Unknown property ‘user-select’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:100)
    Error in parsing value for ‘padding’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:1748)
    Error in parsing value for ‘padding’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:1760)
    Error in parsing value for ‘padding’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:1917)
    Expected color but found ‘#FFC5C5C5’. Error in parsing value for ‘background’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:2276)
    Error in parsing value for ‘filter’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:2277)
    Error in parsing value for ‘background’. Declaration dropped. (http://localhost/Knockout/jqwidgets/styles/jqx.base.css:2279)
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Error in parsing value for ‘cursor’. Declaration dropped.
    Expected ‘:’ but found ‘=’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Expected ‘:’ but found ‘=’. Declaration dropped.
    Unknown property ‘align’. Declaration dropped.
    Unknown property ‘valign’. Declaration dropped.
    Error in parsing value for ‘top’. Declaration dropped.
    Error in parsing value for ‘height’. Declaration dropped.

Viewing 6 posts - 1 through 6 (of 6 total)