jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts

  • dpdragnev
    Member

    Thank you Peter,

    Calling updatebounddata on the grid in my drop box’s change event worked.

    Appreciate your help.


    dpdragnev
    Member

    Thank you Peter,

    What is the correct way of dynamically refreshing the data in the grid using server data? The examples I saw in the documentation are using local data only.

    Thanks.

    in reply to: Expanded Group columns Expanded Group columns #18516

    dpdragnev
    Member

    Thank you Peter. Your suggestion worked perfectly. 🙂

    in reply to: Grid Grouping problem Grid Grouping problem #18474

    dpdragnev
    Member

    I solved the problem by upgrading my jQuery and jQWidgets versions.

    Thanks.

    in reply to: Grid with checkboxes Grid with checkboxes #17486

    dpdragnev
    Member

    Hi Peter,

    Thank you for you response. I tried that and it did not work. I am still getting the same result. I tried it in different browsers but that did not make any difference.

    Do you have any other ideas on how to resolve this?

    Thanks.

    in reply to: Conflict with jQuery? Conflict with jQuery? #15211

    dpdragnev
    Member

    Thank you Peter,

    This was the problem. I just updated the project to jQuery 1.9 and everything works as expected.

    Appreciate your help.

    in reply to: Empty MaskedInput display Empty MaskedInput display #15115

    dpdragnev
    Member

    Thank you Peter.

    in reply to: Conflict with jQuery? Conflict with jQuery? #15114

    dpdragnev
    Member

    Hi Peter,

    Thank you for your reply. As I mentioned in my post, everything was working fine until I replaced the 2.6 version with 2.7. Furthermore, If I remove the reference to the jqxDocking in my js file, the page loads correctly, but with the jqxDocking code, I get the “TypeError: e is not a function” error.

    I am not doing anything different, all I did was replaced the content of the jqwidgets directory with the one I downloaded today (v.2.7). There must be a conflict somewhere otherwise the code should work, right? As you can see the code above is taken from your demo page. Here is my jqwidgets bundle:

    bundles.Add(new ScriptBundle(“~/bundles/jqwidgets_controls”).Include(
    “~/Plugins/jqwidgets/jqxcore.js”,
    “~/Plugins/jqwidgets/jqxbuttons.js”,
    “~/Plugins/jqwidgets/jqxdata.js”,
    “~/Plugins/jqwidgets/jqxgrid.js”,
    “~/Plugins/jqwidgets/jqxgrid.edit.js”,
    “~/Plugins/jqwidgets/jqxgrid.selection.js”,
    “~/Plugins/jqwidgets/jqxmenu.js”,
    “~/Plugins/jqwidgets/jqxscrollbar.js”,
    “~/Plugins/jqwidgets/jqxlistbox.js”,
    “~/Plugins/jqwidgets/jqxdropdownlist.js”,
    “~/Plugins/jqwidgets/jqxgrid.columnsresize.js”,
    “~/Plugins/jqwidgets/jqxgrid.selection.js”,
    “~/Plugins/jqwidgets/jqxgrid.edit.js”,
    “~/Plugins/jqwidgets/jqxcheckbox.js”,
    “~/Plugins/jqwidgets/jqxnumberinput.js”,
    “~/Plugins/jqwidgets/jqxexpander.js”,
    “~/Plugins/jqwidgets/jqxnavigationbar.js”,
    “~/Plugins/jqwidgets/jqxmaskedinput.js”,
    “~/Plugins/jqwidgets/jqxdatetimeinput.js”,
    “~/Plugins/jqwidgets/jqxcalendar.js”,
    “~/Plugins/jqwidgets/jqxtooltip.js”,
    “~/Plugins/jqwidgets/jqxdocking.js”,
    “~/Plugins/jqwidgets/jqxpanel.js”,
    “~/Plugins/jqwidgets/jqxsplitter.js”,
    “~/Plugins/jqwidgets/jqxwindow.js”,
    “~/Plugins/jqwidgets/jqxtabs.js”,
    “~/Plugins/jqwidgets/jqxvalidator.js”,
    “~/Plugins/jqwidgets/globalization/jquery.global.js”));

    I am loading all the files like so:
    @Styles.Render(“~/Content/css”)
    @Scripts.Render(“~/bundles/modernizr”)
    @Scripts.Render(“~/bundles/jquery”)
    @Scripts.Render(“~/bundles/jqueryval”)
    @Scripts.Render(“~/bundles/jqwidgets_controls”)
    @Scripts.Render(“~/bundles/custom”)
    @Scripts.Render(“~/bundles/blockui”)
    @Scripts.Render(“~/bundles/plugins”)
    @Styles.Render(“~/Plugins/jqwidgets/styles/jqx.base.css”)
    @Styles.Render(“~/Plugins/jqwidgets/styles/jqx.shinyblack.css”)
    @Styles.Render(“~/Plugins/jqwidgets/styles/jqx.ui-smoothness.css”)
    @Styles.Render(“~/Plugins/jqwidgets/styles/jqx.ui-darkness.css”)

    As far as I can see, everything is loading correctly. I am not getting any network errors so all the files load properly. Here is my HTML:

    calendar

    Sunny

    Sunny
    Mo: 23 °C
    To 25 °C
    We: 27 °C

    News

    World
    Local
    Sports

    IE6

    Microsoft is set to get a little more pushy ensuring
    you have an up-to-date browser and will automatically update Internet Explorer…
    (BBC)

    Tennis

    The High Court has dismissed a challenge to laws that
    require immigrant spouses to be able to speak English in order to live in the UK…
    (BBC)

    Tennis

    British number one Elena Baltacha says Judy Murray is
    a “fantastic” appointment as Great Britain’s new Fed Cup captain… (BBC)

    Zodiac
    Leo

    Leo
    Individuals born under the zodiac sign of Leo are very
    good looking and have a healthy physique, with a broad forehead. Leo are very intelligent,
    extremely courageous, love their freedom and live by their own rules. Indulgence
    and extravagance is like second nature to them and they love to…

    E-mail

    This code was copied from your Demo page as well.

    What am I missing? I spent all afternoon trying to figure this out and I am out of ideas.

    Thank you.

    in reply to: Checkbox column in Grid Checkbox column in Grid #11404

    dpdragnev
    Member

    I also wanted to add that I was looking at your demo at: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/defaultfunctionality.htm and there the checkbox column works perfectly fine. However, if I try to use the same code in my project, it does not work.

    The only difference between the demo and my project is that I am using Json data from the server while the demo is using xml data. Could that have anything to do with it?

    in reply to: Text editor positioning Text editor positioning #11313

    dpdragnev
    Member

    Never mind, I found it using Firebug. Thanks for your help.

    in reply to: Text editor positioning Text editor positioning #11312

    dpdragnev
    Member

    Thank you Peter,

    How would you suggest to investigating this issue? Is there a method or tool that you guys use when you run across similar issues?

    in reply to: Checkbox column in Grid Checkbox column in Grid #10610

    dpdragnev
    Member

    Peter,

    As an alternative, I would like to display Yes and No when the field is true. I am trying to execute the following code, but I cannot make it to work:

    // create the dataadapter
    var dataAdapter = new $.jqx.dataAdapter(source, {
    downloadComplete: function (data) {
    for (var i = 0; i < dataAdapter.records.length; i++) {
    if (data[i]["Active"]) {
    data[i]["Active"] = "Yes";
    } //if
    } //for
    return data;
    } //downloadComplate
    });

    What am I doing wrong? This is a very common scenario and there must be a better way of displaying boolean data than showing true and false to the user.

    Thanks

    in reply to: Checkbox column in Grid Checkbox column in Grid #10609

    dpdragnev
    Member

    Instead of loading text, can I inject a img tag? Maybe I display a check image when the value of the field is true.

    in reply to: Checkbox column in Grid Checkbox column in Grid #10606

    dpdragnev
    Member

    Thank you Peter,

    Do you have a workaround we can use in the meantime? Or maybe a suggestion on how to display a boolean column. I do not want our customers to see true and false in that column.

    in reply to: Checkbox column in Grid Checkbox column in Grid #10597

    dpdragnev
    Member

    Thank you. Another observation: if I remove the type: ‘boolean’ attribute on the source field, the grid loads correctly, but the checkbox is always unchecked. What is strange is that adding the type of the field triggers this error.

Viewing 15 posts - 16 through 30 (of 34 total)