|
#1
|
|||
|
|||
|
Hi isomorphic,
How to change the title of button which comes under dynamicform. it's possible for isc.Button and isc.IButton. i tried a lot. but unable to do that. plze give me solution to the title for dynamicform button. thanks in advance. Regards Varun. |
|
#2
|
|||
|
|||
|
You can use a IButton and then position it with a Layout.
Code:
IButton.create({title:"Save", click:"YOURFORMNAME.saveData();", width:100})
|
|
#3
|
|||
|
|||
|
Try using the title property of a form field whose type is set to button:
Code:
isc.DynamicForm.create({
fields: [
....
{name: "testButton",
title: "some text",
type: "button"
}
....
]
});
|
|
#4
|
|||
|
|||
|
With this property how set and reset Name...
Can we use setTitle property for it??? |
|
#5
|
|||
|
|||
|
Yes, use setTitle() like so:
Code:
exampleForm.getItem('button').setTitle('hello');
|