Search Type: Posts; User: vladka
Search: Search took 0.03 seconds.
-
4 Nov 2011 5:24 PM
Jump to post Thread: Did belongsto works with dots ? by vladka
- Replies
- 3
- Views
- 532
found getterName parameter in source code belongto.js
getterName : 'getCategory'.
thats i needed. -
4 Nov 2011 12:07 PM
Jump to post Thread: Did belongsto works with dots ? by vladka
- Replies
- 3
- Views
- 532
if i change
associations: [ { type: 'belongsTo', model: 'Panda.model.Category' }, ]
to
belongsTo: { model: 'Pandora.model.Category', foreignKey: 'id', name:... -
4 Nov 2011 11:30 AM
Jump to post Thread: Did belongsto works with dots ? by vladka
- Replies
- 3
- Views
- 532
Hello everybody.
BelongsTo don't works with model like: Appname.model.ModelName.
Ext.define('Panda.model.Product', {
extend: 'Ext.data.Model',
fields: [
{... -
3 Nov 2011 7:40 AM
- Replies
- 5
- Views
- 1,079
tell me please what do you mean by saying:
> and if it equals zero then append an element to the list
onDatachanged = function( store, eOpts ) {
// do a getCount() onto the store
... -
3 Nov 2011 6:38 AM
- Replies
- 5
- Views
- 1,079
Question is how to add element to list, because just:
onload = function( store, records , success, operation, eOpts ) {
if(records.length < 1) {
... -
3 Nov 2011 2:37 AM
- Replies
- 5
- Views
- 1,079
Hello.
User write some text to combobox, if there no records in drop down list, i want to append "Add element" link.
Found that on load event fires when combobox loads data from server.
So... -
1 Nov 2011 1:28 PM
Jump to post Thread: get id of the inserted record by vladka
- Replies
- 4
- Views
- 597
i'm found a solution!!
you're have to make a timeout.
so i you make code like this:
var showId = function(store) {
console.log('timeout') -
1 Nov 2011 8:44 AM
Jump to post Thread: get id of the inserted record by vladka
- Replies
- 4
- Views
- 597
Hello everyone.
got an create function:
onCreate: function(e, form) {
values = form.getValues();
this.getManifactorsStore().insert(0, values)
... -
27 Oct 2011 4:31 AM
Jump to post Thread: set current value from combox by vladka
- Replies
- 6
- Views
- 1,397
Yap!
and it's work perfectly without listeners!
thanks ! -
26 Oct 2011 11:58 AM
Jump to post Thread: set current value from combox by vladka
- Replies
- 6
- Views
- 1,397
but i have other question,
is it possible to override setValue function like this ?
Ext.form.Combox.override({
setValue: function(val) {
... -
26 Oct 2011 9:33 AM
Jump to post Thread: set current value from combox by vladka
- Replies
- 6
- Views
- 1,397
get it.
i should make:
directioncombox.setValue({'value': 1, 'name': 'Аренду'})
thank you, i almost lost belive that setValue works as i need -
26 Oct 2011 9:14 AM
Jump to post Thread: set current value from combox by vladka
- Replies
- 6
- Views
- 1,397
nope :(
http://pastebin.com/BTkB7u0B
just have error message - This fields is requered.
i think problem somewhere in listeners. -
26 Oct 2011 12:45 AM
Jump to post Thread: set current value from combox by vladka
- Replies
- 6
- Views
- 1,397
Hello everyone.
i want to edit object, and set a current value for combox.
Use this code:
var metrocombox = Ext.create('Ext.form.ComboBox', {
...
Results 1 to 13 of 13
