Bart wood

Results 32 comments of Bart wood

Thank you. Yes, your right. It's easier to handle events in nested views with the ViewManagerFactory because you can just use the events block in the nested View class. But,...

Hi Brunoreis, That's a good point. Most of my views with the CollectionBinder are tables and I use the JQuery tablesorter plugin to allow the user to sort their own...

Sorry for the delay. The CollectionBinder will trigger 2 events you can listen for - "elCreated" and "elRemoved". You can register for those events and then re-apply the jquery tablesorter....

I've added an option to the CollectionBinder named "autoSort". If this option is set, the collection binder keeps it's nested views in the same sorting order as the collection.

@viniciuscb That will work - interesting solution. I guess another possibility would be to use a collection binder per table row and have a collection for each row of parking...

I'm sorry @ssbyoung - I've been pretty negligent on this project due to time constraints. Is there any chance you could help me generate a new release and have it...

@katowulf @lastquestion katowulf has done a very good job at explaining what's going on. @katowulf - would you like to be added as a contributor to the project?

@kiinoo - honestly, I forget why I included _isElUserEditable but I know I didn't add it there just for fun. Let me think about it and see if I can...

@kiinoo OK, I remember I added these guards because the code was crashing for elements that were not editable in some situations. Can you please show me your bindings? How...

@kiinoo OK, thank you for the detailed explanation and examples. This function will not work in a lot of situations... ``` Backbone.CollectionBinder.prototype.copyViewValuesToModel = function(){ var parentEl = $(this._elManagerFactory._getParentEl()); var models...