Using SmartClient 8.2.
I'm wondering if someone could point me in the right direction for how to create a custom FormItem for use as an editor for a field in a ListGrid. What I'd like to do is extend the existing textItem to include some buttons along with the text field. I couldn't find a good example of how to do this in the documentation.
I'd like to do something like:
... and in the ListGrid:
Thanks
I'm wondering if someone could point me in the right direction for how to create a custom FormItem for use as an editor for a field in a ListGrid. What I'd like to do is extend the existing textItem to include some buttons along with the text field. I couldn't find a good example of how to do this in the documentation.
I'd like to do something like:
Code:
isc.defineClass("MyCustomTextItem", "TextItem").addProperties({
... (what do I need to put here?)
});
Code:
fields: [{
name: "foo",
...
canEdit: true,
editorType: "myCustomTextItem",
...
}]
Comment