-
4 Jun 2009 7:18 AM #21
I found out little bit more.
Its because the Record bject changed from 2.2 to 3.0 and now has some function the patch was for.
now functions exist by default with no parameter "record" which Ext.ux.data.BindMgr function expect, like:
afterEdit
afterCommit
-
4 Jun 2009 7:33 AM #22
Works for me if i remove the
condition because in 3.0 its true because afterEdit exists, but the following overrides are needet that BindMgr worksPHP Code:if('function' !== typeof Ext.data.Record.prototype.afterEdit) {
-
4 Jun 2009 10:53 AM #23
I haven't ported it to 3.x yet. You could help with posting the complete code (or contact me via skype:jsakalos). I'd test it and publish it then.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Mar 2010 7:21 AM #24
Ext 3.x repair
Ext 3.x repair
hi, i have problem whit BindMgr, my solution is set reference on BindMgr to record :
and in handlers:Code:record.bindMgr = this; record.afterEdit = record.afterEdit.createSequence(this.afterEdit, record); record.afterReject = record.afterReject.createSequence(this.afterReject, record); record.afterCommit = record.afterCommit.createSequence(this.afterCommit, record);
For me this solution working.Code:... ,afterEdit:function() { var mgr = this.bindMgr; // mgr is stored in record var id = mgr.idOf(this); // this is record if(id) { for(var p in mgr.bounds[id].components) { if(mgr.bounds[id].components.hasOwnProperty(p)) { var c = mgr.bounds[id].components[p]; mgr.callMethod('afterEdit', this, c); } } } } //eo function afterEdit ...
-
20 Mar 2010 1:35 PM #25
Thank you for posting the code.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
23 Jun 2010 8:18 AM #26
compatible with ExtJs 3.2.1 ?
compatible with ExtJs 3.2.1 ?
Hi,
I am using ExtJs 3.2.1.
I have two questions:
+ is BindMgr the best way to bind components and records in ExtJs 3.2.1?.
+ is BindMgr compatible with ExtJs 3.2.1?.
Thanks!
-
23 Jun 2010 8:37 AM #27
If you really need various components bound to one record then BindMgr is very good. If you only need, for example, to edit a record with a form then it is overkill.
BindMgr contains Ext.data.Record override that was written for Ext 2.x so this override would need revision for use with Ext 3.x.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
11 Jan 2013 5:25 AM #28
Hi.
Does BindMgr also work with ExtJS 4.x or does a similar helper exists?
We found a site using some sort of binding (see http://blog.dnet-ebusiness-suite.com...grid-form.html) and I was wondering if we could do something similar with BindMgr.
Thanks.


Reply With Quote
