jQWidgets Forums
Forum Replies Created
-
Author
-
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.
Version 3.8 and it looks like the feature is still missing.
April 7, 2013 at 10:32 am in reply to: Context menu doesn't want to hide Context menu doesn't want to hide #18738So 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.
April 7, 2013 at 7:13 am in reply to: Context menu doesn't want to hide Context menu doesn't want to hide #18728I 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).April 2, 2013 at 2:08 pm in reply to: multiple buttons withing grid cell multiple buttons withing grid cell #18421Is it the only way ?? How to use more sophisticated calls e.g. anonymous function ??
April 2, 2013 at 1:13 pm in reply to: multiple buttons withing grid cell multiple buttons withing grid cell #18417Thanks for quick answer.
What about event handlers ? Should I bind to ‘click’ event within function that renders cell ?
If so … doesn’t work ;(Ooops… my mistake
January 30, 2013 at 2:20 pm in reply to: jQuery arbitrary data disappears jQuery arbitrary data disappears #14364Doesn’t work for me !!
jQWidgets: 2.6.1
jQuery: 1.9.0
Browser: all of themPlease 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>
January 30, 2013 at 1:42 pm in reply to: jQuery arbitrary data disappears jQuery arbitrary data disappears #14362I am not talking about element content but jQuery data store.
http://api.jquery.com/data/January 30, 2013 at 7:58 am in reply to: Removing tree item – empty divs Removing tree item – empty divs #14330Any news here ??
January 28, 2013 at 11:20 am in reply to: Removing tree item – empty divs Removing tree item – empty divs #14263jQWidgets: 2.6.1
jQuery: 1.9.0
Browser: all of them1. 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>
-
AuthorPosts