jQWidgets Forums

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Wrong value Wrong value #70862

    lopez306
    Participant

    I know this trick works, but decimal separator is important to me. It’s pretty weird you guys don’t support nulls for this widget.

    in reply to: empty value empty value #70608

    lopez306
    Participant

    Version 3.8 and it looks like the feature is still missing.


    lopez306
    Participant

    So please try to run included example (in my first post) with non minified version (2.8) available on your download page for customers with license.


    lopez306
    Participant

    I know I can hide context menu manually.
    I’m wondering why there is a different in behaviour between free and non-free version of your product (in free version auto-close works perfectly).


    lopez306
    Participant

    Is it the only way ?? How to use more sophisticated calls e.g. anonymous function ??


    lopez306
    Participant

    Thanks for quick answer.
    What about event handlers ? Should I bind to ‘click’ event within function that renders cell ?
    If so … doesn’t work ;(

    in reply to: Grid Destroy issue Grid Destroy issue #16046

    lopez306
    Participant

    Ooops… my mistake 😉


    lopez306
    Participant

    Doesn’t work for me !!

    jQWidgets: 2.6.1
    jQuery: 1.9.0
    Browser: all of them

    Please open console and load page.

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>JQWidgets</title>
    <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css?v=2.6.1" type="text/css" />
    <link rel="stylesheet" href="jqwidgets/styles/jqx.energyblue.css?v=2.6.1" type="text/css" />
    <script type="text/javascript" src="js/ext/jquery-1.9.0.js"></script>
    <script type="text/javascript" src="jqwidgets/jqxcore.js?v=2.6.1"></script>
    <script type="text/javascript" src="jqwidgets/jqxtabs.js?v=2.6.1"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $('#li1').data('key1', 'value1');
    $('#li2').data('key2', 'value2');
    $('#li3').data('key3', 'value3');
    console.log('Before jqxTabs creation');
    console.log($('#li1').data('key1'));
    console.log($('#li2').data('key2'));
    console.log($('#li3').data('key3'));
    $('#jqxTabs').jqxTabs({ width: 300, height: 60, theme: 'energyblue' });
    console.log('After jqxTabs creation');
    console.log($('#li1').data('key1'));
    console.log($('#li2').data('key2'));
    console.log($('#li3').data('key3'));
    });
    </script>
    </head>
    <body class='default'>
    <div id='jqxWidget'>
    <div style='float: left;'>
    <div id='jqxTabs' style='float: left; margin-left: 20px;'>
    <ul>
    <li id="li1">Home</li>
    <li id="li2">Solutions</li>
    <li id="li3">Products</li>
    </ul>
    <div>Home content</div>
    <div>Solutions content</div>
    <div>Products content</div>
    </div>
    </div>
    </div>
    </body>
    </html>

    lopez306
    Participant

    I am not talking about element content but jQuery data store.
    http://api.jquery.com/data/


    lopez306
    Participant

    Any news here ??


    lopez306
    Participant

    jQWidgets: 2.6.1
    jQuery: 1.9.0
    Browser: all of them

    1. Select any existing tree item
    2. Click first button
    3. Investigate DOM – you will notice there is li element wrapped with div
    4. Select newly created tree item
    5. Click second button
    6. Investigate DOm – you will notice there is empty div.

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>JQWidgets</title>
    <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css?v=2.6.1" type="text/css" />
    <link rel="stylesheet" href="jqwidgets/styles/jqx.energyblue.css?v=2.6.1" type="text/css" />
    <script type="text/javascript" src="js/ext/jquery-1.9.0.js"></script>
    <script type="text/javascript" src="jqwidgets/jqxcore.js?v=2.6.1"></script>
    <script type="text/javascript" src="jqwidgets/jqxbuttons.js?v=2.6.1"></script>
    <script type="text/javascript" src="jqwidgets/jqxscrollbar.js?v=2.6.1"></script>
    <script type="text/javascript" src="jqwidgets/jqxpanel.js?v=2.6.1"></script>
    <script type="text/javascript" src="jqwidgets/jqxtree.js?v=2.6.1"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $('#jqxTree').jqxTree({ height: '400px', hasThreeStates: true, width: '330px', theme: 'energyblue' });
    $('#btn1').bind('click', function () {
    var selectedItem = $('#jqxTree').jqxTree('getSelectedItem');
    if (!!selectedItem) {
    $('#jqxTree').jqxTree('addTo', { label: 'Item' }, selectedItem.element);
    }
    });
    $('#btn2').bind('click', function () {
    var selectedItem = $('#jqxTree').jqxTree('getSelectedItem');
    if (!!selectedItem) {
    $('#jqxTree').jqxTree('removeItem', selectedItem.element);
    }
    });
    });
    </script>
    </head>
    <body class='default'>
    <div id='jqxWidget'>
    <div style='float: left;'>
    <div id='jqxTree' style='float: left; margin-left: 20px;'>
    <ul>
    <li>Home</li>
    <li>Solutions</li>
    <li>Products</li>
    </ul>
    </div>
    </div>
    </div>
    <input type="button" id="btn1" value="add tree item to selected item" />
    <input type="button" id="btn2" value="remove selected tree item" />
    </body>
    </html>
Viewing 11 posts - 1 through 11 (of 11 total)