jQWidgets Forums
Forum Replies Created
-
Author
-
October 20, 2012 at 5:21 pm in reply to: exportdata always calls www.jqwidgets.com exportdata always calls www.jqwidgets.com #9793
Hi Peter,
v2.5 still calling http://www.jqwidgets.com/export_server/save-file.php .
Best Regards,
CarloOctober 18, 2012 at 2:54 pm in reply to: Error: Please, add references to the following module(s): jqxmenu.js Error: Please, add references to the following module(s): jqxmenu.js #9705Hi Peter,
at least the 2.5 update did breake our running code.
Best Regards,
KarlheinzOctober 18, 2012 at 12:00 pm in reply to: Error: Please, add references to the following module(s): jqxmenu.js Error: Please, add references to the following module(s): jqxmenu.js #9684Hi Peter,
may be you add this to the ‘Breaking changes’ . Thank you for your outstanding support !
Best Regards
KalrheinzOctober 15, 2012 at 7:23 pm in reply to: IE8 returns wrong number of selected items IE8 returns wrong number of selected items #9479Hi Peter,
thank you for the explanation. Thats a programmers nightmare: adding a datetime widget crashes the listbox code ! Jscript in combination with each browsers idiosyncrasy is an untestable team. Hopefully jscript is never ever used for serious programming.
We do now:
function GetSelectedItemsCount(id){ var items = $(id).jqxListBox('getSelectedItems'); var n = 0; for(var i=0; i < items.length; i++) { var item = items[i]; if (typeof item.label == "string") // === checks also for type n++; //if (typeof item.label === "undefined") // === checks also for type } return n;}
Best Regards,
KarlheinzHi Peter,
I would like to set a ‘default’ theme at the beginning of $(document).ready() instead of specifying the theme for each single widget.
Like jqxSetDefaultTheme(‘blueenergy’);
Best Regards,
KarlheinzHi Dimitrit,
thank you for your explanations. So I have a feature request:
Feature: An option to position the scale at the left edge of the DIV.
Reason: I think thats the natural postion of a gauge scale, and not somewhere in the middle of the DIV.Best Regards,
KarlheinzHi Dimitri,
I do not want the scale to be outside the DIV but be positioned at the left edge of the DIV. I think the widget is using the whole div for drawing. So why can’t the scale be more left ?
Best Regards,
KarlheinzHi Dimitri,
here is the gauge according to your advices:
The yellow colored part is the div containing the gauge. As you can see there is much yellow room on the left side. How can I move the gauge to the left side of the containing div ?
Best Regards,
KarlheinzHi Dimitar,
so this is basic guage is really not possible:
Best Regards
KarlheinzHi Dimitar,
here the links to the demo: http://85.214.211.237/jqw/gaugetest.html
And here the source:
var w = $('#gauge').css('width'); var h = $('#gauge').css('height'); $('#gauge').jqxLinearGauge({ animationDuration: 300, orientation: 'vertical', width: w, height: h, min: 0, max: 4, value: 2.5, showRanges: false, ticksPosition: 'near', ticksMajor: { visible: true, interval: 1, size: '8%' }, ticksMinor: { visible: true, interval: 0.5, size: '4%' }, labels: { visible: true, interval: 1, position: 'near' }, pointer: { size: '100%', offset: '-150', style:{ fill: "blue"} } });
The scale and ticks are still in the middle, although I specified ‘near’ as the labels and ticks position.
Best Regards,
KarlheinzHi Dimitar,
I tried setting the offset: ‘-150’. The pointer is increasing to the left. But how to move the scale to the left, so that its on the left side of the pointer and not in the middle ?
Best Regards,
KarlheinzHello Dimitar,
here you can see a gauge with a scale. The scale is very far from the left side. How can we move the scale to the left and make the pointer wider ?
<img src="http://85.214.211.237/jqw/gauge.jpg" alt="" />
Best Regards,
Karlheinz RafalskiSeptember 28, 2012 at 4:27 pm in reply to: Bad performance on samsung galaxy tab Bad performance on samsung galaxy tab #8655Hi Peter,
im my opinon it’s not the loading time. I have i put an alert() at the start of ready() and at the end of ready(). You can even watch jqwidgets drawing the comboboxes in opera mobile. Thay are dropping in one by another.
$(document).ready(function (){ alert("ready start"); for(var i=1; i <=20; i++) { var d = []; for(var j=0; j<10; j++) { d.push(j); } $('<div id="ddb'+i+'" style="margin-bottom:10px" />').jqxDropDownList( { source: d, width: '250px', height: '20px', dropDownHeight: 200, selectedIndex: 0 }).appendTo("body"); }; alert("ready end");});
Here the link: http://85.214.211.237/jqw/performance2.html
Best Regards,
Karlheiz RafalskiSeptember 28, 2012 at 3:04 pm in reply to: Bad performance on samsung galaxy tab Bad performance on samsung galaxy tab #8650Hi Peter,
here is a jqw test page with 20 jqxDropDownList widgets http://85.214.211.237/jqw/performance2.html . This page takes more than 10 seconds loading.
And here a test page with 20 pure html combo boxes http://85.214.211.237/jqw/performance3.html . This takes 1 second loading.
All on the same samsung galaxy tab device. So it does not depend on the connection speed or device speed.
If this can not be improved on your side, we have to replace most of your widgets with pure html elements on all of our pages.
Best Regards,
Karlheinz RafalskiSeptember 25, 2012 at 12:38 pm in reply to: Menue disappears when loading into iframe Menue disappears when loading into iframe #8432Hi Peter,
I would like to inform you, how we solved it in the end. We removed all href’s and target’s from the menue items and added a ‘data-url’ attribute:
<li><a data-url="/page1.aspx">Page 1</a></li>
In the itemclick event we read the data-url attribute and set the iframe’s source:
$("#menue").bind('itemclick', function (event) { var url = $(event.target).attr("data-url"); $("#iframe").attr('src', url);});
Best Regards,
Karlheinz Rafalski -
AuthorPosts