jQWidgets Forums
Forum Replies Created
-
Author
-
brio,
Did you ever get this working? I’m having the similar problem and not been able to find a working solution.
– Mike
December 12, 2014 at 6:18 pm in reply to: validationSuccess event never triggered validationSuccess event never triggered #64151Peter,
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.
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
November 18, 2014 at 2:46 am in reply to: How to setup a filter with jxq-grid How to setup a filter with jxq-grid #62910Peter,
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
– MikeNovember 18, 2014 at 1:05 am in reply to: How to setup a filter with jxq-grid How to setup a filter with jxq-grid #62907Peter,
Is there an example of this some where in your documentation?
Thanks again,
– Mike
November 17, 2014 at 8:16 pm in reply to: Anyone Using Angular Directives with JQXWidgets in Production Anyone Using Angular Directives with JQXWidgets in Production #62900Hey 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
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.
Peter,
How do I bind an inner element data to an outer scope? I don’t see any documentation on it.
Thanks
– MikePeter,
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?
March 25, 2014 at 7:50 pm in reply to: strange error message with jqxwindows and jqxcombobox strange error message with jqxwindows and jqxcombobox #51866I’m seeing the same problem. Has this been resolved yet?
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; }
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
MikeWhen 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
– MikeDimitar,
I’m not looking for a replacement but rather how to extend the current hintRender. Is that possible?
– Mike
-
AuthorPosts