Skip to Content
0

How to validate a particular cell in table?

Aug 22, 2017 at 10:35 AM

36

avatar image
Former Member

When I click add button,an empty row is inserted,now I want to validate this cell in a newly added row . please help me to do that.capture.png

capture.png (20.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Irfan Gokak Aug 22, 2017 at 02:46 PM
0

Hi Rajeshwari,

If you want to validate table cell with input field onChange event. Then do as following.

// In View:
<Input type="Text" value="{prodListMdl>ReqQty}" change="validateVal" />

// In Controller
validateVal : function(oEvent){
   var vReqQty = oEvent.getSource().getValue();
   // Your validation code goes here
   // Your action on error/ success
}

Regards,

Irfan G.

Share
10 |10000 characters needed characters left characters exceeded
Sharath M G Aug 22, 2017 at 12:11 PM
0

You can validate any cell in the table. What is the roadblock that you facing?

The cells will be part of the table structure and also the model linked to the table.

Regards,

Sharath

Share
10 |10000 characters needed characters left characters exceeded