jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 73 total)
  • Author
    Posts

  • carlo
    Participant

    Hi Peter,

    v2.5 still calling http://www.jqwidgets.com/export_server/save-file.php .

    Best Regards,
    Carlo


    carlo
    Participant

    Hi Peter,

    at least the 2.5 update did breake our running code.

    Best Regards,
    Karlheinz


    carlo
    Participant

    Hi Peter,

    may be you add this to the ‘Breaking changes’ . Thank you for your outstanding support !

    Best Regards
    Kalrheinz


    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Theme change Theme change #9167

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #9039

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #9034

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #9032

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #9028

    carlo
    Participant

    Hi Dimitar,

    so this is basic guage is really not possible:

    Best Regards
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #8994

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #8992

    carlo
    Participant

    Hi 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,
    Karlheinz

    in reply to: Fill vertical upwards Fill vertical upwards #8988

    carlo
    Participant

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


    carlo
    Participant

    Hi 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 Rafalski


    carlo
    Participant

    Hi 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 Rafalski


    carlo
    Participant

    Hi 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

Viewing 15 posts - 46 through 60 (of 73 total)