Yes that's what it takes, thanks!
I used an itemRenderer to set the display to the label from the lookup
source for the data that was stored.
Manish Jethani wrote:
>
> Here's what I suggest:
>
> /* in your item editor */
> public function get myCustomProperty():Object
> {
> var
On Sat, Jan 3, 2009 at 1:15 AM, Mike Oliver wrote:
>
> Perhaps its because it is an itemEditor, but just tried it and "value" in the
> editorDataField saves the label string to the Grid, not the 'data' element.
Well, the value property is a little strange indeed. Not to mention
it's also deprecat
Perhaps its because it is an itemEditor, but just tried it and "value" in the
editorDataField saves the label string to the Grid, not the 'data' element.
Ollie
Manish Jethani wrote:
>
> On Sat, Jan 3, 2009 at 12:16 AM, Mike Oliver
> wrote:
>
> [snip]
>> and that saves to the database, all gr
On Sat, Jan 3, 2009 at 12:16 AM, Mike Oliver wrote:
[snip]
> and that saves to the database, all great...however, the
>
> editorDataField="selectedItem" puts "[object Object]" into the Grid instead
> of the data element.
>
> I tried editorDataField="selectedItem.data" but that fails. I tried "va
Ok, so the itemEditor = ComboBox with the above Override and here it is as it
stands and works (up to a point).
On Fri, Jan 2, 2009 at 6:09 AM, Mike Oliver wrote:
> Thanks, so this script would go within the
>
>
>
>
>
> Right?
Yes.
Manish
--
http://manishjethani.com
Thanks, so this script would go within the
Right?
Manish Jethani wrote:
>
> On Fri, Jan 2, 2009 at 3:59 AM, Mike Oliver
> wrote:
>
>> it looks to me like it is better to use a label function to render the
>> display value and leave the combo box for itemEditor.
>>
>> That still leaves t
On Fri, Jan 2, 2009 at 3:59 AM, Mike Oliver wrote:
> it looks to me like it is better to use a label function to render the
> display value and leave the combo box for itemEditor.
>
> That still leaves the question on how the ComboBox will display the Option
> Label when in edit mode.
The ComboB
it looks to me like it is better to use a label function to render the
display value and leave the combo box for itemEditor.
That still leaves the question on how the ComboBox will display the Option
Label when in edit mode.
--
View this message in context:
http://www.nabble.com/itemRenderer-
I want to use a ComboBox as an itemRenderer and itemEditor.
here is the
10 matches
Mail list logo