Skip to Content
0

Unable to read row data in sap.ui.table through getRows()

Jul 04, 2017 at 01:23 PM

44

avatar image

Hi,

I have a sap.ui.table which contains 20 Rows and 5 columns. I have an input field in first column. So User selects any row and will enter the input field in the first column. I am able to read the table input field through .getRows[index].getCells[index] successfully. This works fine upto first 14 rows. After 14 rows , its throwing "undefined" error messsage. How will I read the entered input of 15th row or higher than that? I can get other column data through model. But How do I read First column data(input field) which is in 15th row or above? I

".getRows[index].getCells[index] is not working only for 15th row or above".

Please refer the below blog.

Note: https://github.com/SAP/openui5/issues/393

Regards

Karthik S

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

VIPLOVE KHUSHALANI Jul 05, 2017 at 12:18 PM
0

Hi ,

what is your visible row count for the table ? ..Only to that value index you can read like this .. because in this control the table has only that much amount of rows .. they are using the same rows for all the other data in the table

Thanks

Viplove

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Viplove,

Thanks. I have made visiblerowCount= "10", But when I try to read 15th row, its throwing undefined error.

Regards

Karthik S

0

So you are saying for 11 12 13 14 rows its working fine ??

thanks

Viplove

0