jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: jqxInput placeHolder jqxInput placeHolder #90387

    NetMan
    Participant

    Found a solution. Thank You

    in reply to: jqxDropDownList Selections jqxDropDownList Selections #80149

    NetMan
    Participant

    Yes Peter, you are correct. I meant to ask this question for jqxinput. Will move to that topic.


    NetMan
    Participant

    Never mind, found solution.

    Regards,
    NetMan


    NetMan
    Participant

    Hi Dimitar,

    Not quite what I was asking. As the grid renders there are different currencies in a currency column. So I need to change localization based on the currency column. Cellsrenderer it seems is the necessary approach but can only change localizationobj once. Is it possible to change the localizationobj as the grid renders?

    Appreciate any further advice.
    NetMan


    NetMan
    Participant

    Ok, new version has been released (v3.5.0) but this behavior was not addressed.

    What happened?

    Regards,
    NetMan


    NetMan
    Participant

    Hi Dimitar,

    When can we expect a fix as this would be a heavily used control on our site?

    Regards,
    NetMan


    NetMan
    Participant

    Hi Dimitar,

    Why do I not see that behavior in the demo, or am I missing something?

    Regards,
    Warren


    NetMan
    Participant

    Hi, we tried it also without the iframe and it does the same thing. This should be all the pertinent code.
    Regards, NetMan

    <table cellpadding=”0″ cellspacing=”0″ class=”BorderlessTable” style=”width: 100%;”>
    <tr>
    <td>
    @Html.LabelFor(model => model.AgencyId)
    </td>
    <td>
    <div id=’jqxAgencyDropdown’>
    </div>
    </td>
    </tr>
    </table>
    $(document).ready(function () {
    var agencies = [];
    var result = ‘@Html.Raw(Json.Encode(Model.Agencies))’

    var obj = $.parseJSON(result);
    $.each(obj, function (index) {
    agencies.push({
    key: obj[index].Text,
    value: obj[index].Value
    });
    });

    $(“#jqxAgencyDropdown”).jqxDropDownList({
    source: agencies, displayMember: “key”, valueMember: “value”, width: 450, height: 25, theme: ‘ui-redmond’, placeHolder: ‘Select an Agency’, autoDropDownHeight: true, popupZIndex: 0
    });
    var item = $(“#jqxAgencyDropdown”).jqxDropDownList(‘getItemByValue’, “@Model.AgencyId”);
    $(“#jqxAgencyDropdown”).jqxDropDownList(‘selectItem’, item);
    $(“#innerListBoxjqxAgencyDropdown”).append(‘<iframe class=”cover” src=”about:blank”></iframe>’);

    $(‘input:text’).bind(‘keyup blur’,
    function (e) {
    if (e.type == ‘keyup’)
    this.value = this.value.toLocaleUpperCase();
    $(“form”).jqxValidator(‘updatePosition’);
    });
    });
    $(window).resize(function () {
    $(‘form’).jqxValidator(‘updatePosition’);
    });


    NetMan
    Participant

    I upgraded to the latest version of JQWidgets – 3.4.0 and latest jQuery 1.11.1 but the dropdown will still not move with the control. The MVC view is a bit difficult to get to work at all in JSFiddle.

    Regards,
    NetMan

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