Hello
Also be a sure to include
Hello,
You can design your custom function where you include something like this
save/ or cancel Cell
save/ or restore Row
finaly resetSelection
Regards
Tony
Hello,
Since you use the subGridRowExpanded as of documentation:
This event is raised when the subgrid is enabled and is executed when the user clicks on the plus icon of the grid. Can be used to put custom data in the subgrid.
If you have the id then you can $(“#mygrid”).getRowData( id ) – this retun all the values from the current clicked row and before constructing the grid you can pass what you want from this array
Regards
Hello,
Since this is many time discussed and there seems really to be aproblem with this – here some explanation. Suppose we have
value: {'key1:value1;key2:value2'}
(note that since 3.4 this can be a editoptions:{value:{key1:'value1',key2:'value2'}}
Note the json representation
1. If we are in edit mode (formedit, inlineedit cell edit) and have a select control, the true “value” that is posted to the server is the key value and not the value, but after saving we display the value. If you do not have any spacial calculations in this case is nothing to do.
2. The problem that I do not understand is when you need the key value? During wich proccess or user interaction?
3. The most common error here is that you think OK during editing I will use getRowData method to do something. This is explained so many time here. This is bad. You will receive in this case the html input control.
4. I recommend to use your own methods to get the value of this control during editing. How to do that? I think it is easy. Every control when we are in edit mode has a uniquie id which is combination of the following:
For Inline edit : rowid+”_”+name – where name is name from colModel, and rowid is the current edited row with id = rowid
For Cell editing : iRow+”_”+name where name is name from colModel and iRow is the index of the row (not rowid).
For Form edit: name – where name is the name form colModel
I hope that this will help a little.
Best Regards
Tony
Hello,
Just for test – could you please set explicit on every column the property width?
Thanks.
Tony
Hello,
Really do not understand.
Regards
Tony
Hello,
Thanks. It is a bug. Will be fixed. Soon will be new bug fix release.
Best Regards
Tony
Hello,
I think there must be better explanation of your problem
Regards
Tony
Hello,
I'm close to UI Theme roller.
Regards
Tony
Hello,
You can easy make a button
Hello,
Check the media atribute
Hello,
Initially you should set lastSel to some value.
Regatds
Tony
Hello,
Could you please send me the grid configuration and generated xml file. Will try to simulate this.
Regards
Tony
Hello,
You can use the new gridImport method. See the news for 3.4 release.
Regards
Tony
Hello,
This should work, but I sugest to cal this not in afterInsertRow, since this is executed every time you add row. If possible please use gridComplete event for this purpose.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top