Skip to Content
0
Dec 10, 2013 at 12:34 PM

how to do keyup operation on textarea in SAPUI5?

779 Views

Hi,

I have done sample application using sapui5.

In that I have problem with textarea.

I want to do some keyup operations for textarea.

I have table and in that I am placing textarea like below.

performanceReviewTable

.addColumn(new sap.ui.table.Column(

{

label : new sap.m.Label({

text : "Description"

})

.addStyleClass('noMargin noPadding fontSmall'),

template : new sap.m.TextArea(

{

width : '100%',

maxLength: 500,

placeholder : "Objectives align to role specific production, cost, safety, team work or leadership targets.",

}).bindProperty("value",

"description"),

sortProperty : "description",

filterProperty : "description",

width : commentWidth,

resizable : false,

}));

how to apply key events for this textarea?

Please help me.

Thanks&Regards

Sridevi