jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts

  • Justintkw
    Participant

    That takes care of the input area. Is there a way to change the font size associated with the calendar? I want very much to reduce its font size.

    Thank you for your help.

    in reply to: Find value – MVC model Find value – MVC model #83304

    Justintkw
    Participant

    Hi Peter:

    I have corrected the code, yet I still can’t get the combo box to select the item I want. My script is below. I would appreciate some help on this.

    Thanks!

    <script type=”text/javascript”>
    $(document).ready(function () {
    var data = @Html.Raw(Model.JSON_Str_Of_NonYTCBand); //Confirmed that the data is there. The combo box is loaded with the data.
    var PreselectedValue = “@Model.List_Of_StdDemo_DataObj[0].NonYTCBand”
    //alert(PreselectedValue); confirmed that the value is returned and that it is on th list.
    $(“#jqx_NonYTCBand_Combo”).jqxComboBox({ source: data, displayMember: “displayName”, valueMember: “code”, width: 150, height: 25 });
    $(“#jqx_NonYTCBand_Combo”).on(‘bindingComplete’, function (event) {
    var item = $(“#jqx_NonYTCBand_Combo”).jqxComboBox(‘getItemByValue’, PreselectedValue);
    $(“#jqx_NonYTCBand_Combo”).jqxComboBox(‘selectItem’, item ); //No error thrown, but the item is NOT selected.
    });
    });
    </script>

    in reply to: cellendedit, jQuary ajax, MVC5 cellendedit, jQuary ajax, MVC5 #76242

    Justintkw
    Participant

    Thanks. Please ignore message. I figured it out.


    Justintkw
    Participant

    Thank you very much for preparing the jsfiddle file, You are correct. The error was mine. I had conflicting jQuery files included in the _layout.cshtml, which I forgot. Now the issue is solved.

    Thanks again, Peter. I appreciate your help.

    Justin

Viewing 4 posts - 16 through 19 (of 19 total)