-
24 Dec 2010 5:26 AM #571
If using ExtJS 3.3.0, and LovCombo, then you will need to make the following modification to Ext.ux.grid.RecordForm.js:
On line 300, replace this:
With this:Code:// use cm editor if we have one if(c && c.editor && c.editor.field) {
Worked for meCode:// use cm editor if we have one if(c && c.editor ) { c.editor.field = c.editor;
Thanks for such a useful plugin, it's a big timesaver when I just want a simple editor of a simple record.
-
11 Jan 2011 3:00 AM #572
hy j sakalos....thanks for your plugin.now, i use with mysql for database, data can display but edit or save button not work because error: cannot decode JSON object.i guess problem in line json_decode on Ext.decode(response.responseText)..any suggest for it, i use ExtJS Ver 3.3??
-
12 Jan 2011 2:08 AM #573
Check your server response, possibly on http://jsonlint.com/, to see if the server response is valid.
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
-
13 Jan 2011 2:40 AM #574
hmm...thanks for your response.i'll try and report it later.be success...
-
14 Jan 2011 9:21 AM #575
my server is valid response..save or edit still error, in sqlite json_decode is work, but in mysql it's not work..can you give me specified solution for this issue??thank you jsakalos....
-
14 Jan 2011 8:34 PM #576
hmmm problem solved..in mysql not begin transaction but using start transaction for update data..thank's for this thread and thread starter
-
18 Jan 2011 7:11 PM #577
-
29 Jan 2011 7:49 AM #578
Hi everybody, I'm using this component and I want to set a value obtained of a combo into a textField of the recordForm but I can' do it. I have tried this:
var obj1 = Ext.getCmp('textField1');
obj1.setValue(1);
Error: obj1 is undefined
Help please. How can I access to the Fields of the recordForm?
-
29 Jan 2011 8:06 AM #579
You need to give your textfield an id.
So your code might look like this:
Without the explicit id set in code, Ext gives it a weird Ext-cmp-blah ID, so you will get the undefined error.Code:new Ext.form.TextField({ width: '82%', id: 'textField1', name: 'textField1', fieldLabel: 'Text Field', triggerAction: 'all', allowBlank: true })
-
29 Jan 2011 8:28 AM #580
I do not recommend to set an id, use form.findField('field-name') instead.
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


Reply With Quote