jQWidgets Forums

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: ajax validation problem ajax validation problem #64152

    mikemazz
    Participant

    brio,

    Did you ever get this working? I’m having the similar problem and not been able to find a working solution.

    – Mike


    mikemazz
    Participant

    Peter,

    I appreciate the links but I believe I understand how these event operate. I have this working in other areas when not using Ajax calls. You’ll notice that when the ajax query callback is executed “.done” the code sets the appropriate value for the rule return using commit(true|false). And there are log messages that indicate it’s getting into this block.

    I don’t know where else to look for answers.

    in reply to: jqx-tabs and angular jqx-tabs and angular #63534

    mikemazz
    Participant

    Peter,

    Thanks for your help. However, I’ve already got this part working. The challenge I’m having is filtering the content within a tab. I’m not really sure why the hg-repeat directive won’t properly filter when I’m inside the jqx-tab.

    Any thoughts?

    Thanks


    mikemazz
    Participant

    Peter,

    Is there an example of a custom filter? Though, I really like the built-in filters on the columns, my applications has some requirements for filtering that only a custom one will work.

    Thanks
    – Mike


    mikemazz
    Participant

    Peter,

    Is there an example of this some where in your documentation?

    Thanks again,

    – Mike


    mikemazz
    Participant

    Hey Bob,

    I’m finding it a bit challenging to get all these different technologies working the way I want: AngularJS, Javascript and JQwidgets. Many of my issues is the lack of experience with AngularJS. We’ve committed to using both Angular and JQwidgets for a production application and hope it all works out.
    I certainly wish there was more documentation on the integration of Angular with JQwidgets. I think the two could produce something very special when done correctly.

    – Mike

    in reply to: Please HELP!!! Please HELP!!! #62899

    mikemazz
    Participant

    No, I have not found examples. However, Peter has been helping. The key is to understand that these special angular jqwidgets use isolated scope which can be kind of tricky to understand. I was able to get much stuff working but the fact is I don’t have a lot of experience with isolated scope and it trips me up.

    in reply to: Please HELP!!! Please HELP!!! #62806

    mikemazz
    Participant

    Peter,

    How do I bind an inner element data to an outer scope? I don’t see any documentation on it.

    Thanks
    – Mike

    in reply to: Please HELP!!! Please HELP!!! #62726

    mikemazz
    Participant

    Peter,

    I am using the jqx-data attribute in the above example. It seems to work until I tried to do it within the jqx-tab. Any other ideas?


    mikemazz
    Participant

    I’m seeing the same problem. Has this been resolved yet?

    in reply to: Extend Rule hintRender? Extend Rule hintRender? #46718

    mikemazz
    Participant

    Dimitar,

    So can you help me understand how the hint is removed one the field passes validation? I’ve written a customer hint render and it changes the color of the label underneath the field that fails validation. However, I cannot seem to properly set the color back once the field becomes valid. Here is my code:

    var that = this;
    var render = function (message, input) {
       console.log("render function called");  
       var ne = input.next();
       var clss = ne.attr('class');
       if (that._message) {
          console.log("_message is: " + that._message.text());
          if (typeof clss !== 'undefined' && clss != '' && clss.indexOf('field-caption') > -1) {
             console.log("Should remove hint now");
             ne.attr('class', 'field-caption');
          } 
          that._message.remove();
       }
       if (typeof clss !== 'undefined' && clss != '' && clss.indexOf('field-caption') > -1) {
          if (clss.indexOf('validationFailed') < 0) {
             var clazz=ne.attr('class');
             ne.attr('class', clazz + " validationFailed");
          }
       } else {
          that._message = $("<label class='validationFailed'>" + message + "</label>");
          that._message.appendTo(input.parent());
       }
       return that._message;
    }
    in reply to: Extend Rule hintRender? Extend Rule hintRender? #46664

    mikemazz
    Participant

    I’ve been trying to write a customer hintRender with little success. The hintRender example seems to work but mine does not.

    Can you tell me when the hintRender: render function is fired?

    Thanks
    Mike

    in reply to: Extend Rule hintRender? Extend Rule hintRender? #46605

    mikemazz
    Participant

    When creating a customer hintRender like so:

    var render = function (message, input) { }

    I’m assuming that message is the message to display that is specified in the rule and input is the text that was typed into the input. Is that correct?

    Thanks
    – Mike

    in reply to: Extend Rule hintRender? Extend Rule hintRender? #46599

    mikemazz
    Participant

    Dimitar,

    I’m not looking for a replacement but rather how to extend the current hintRender. Is that possible?

    – Mike

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