Skip to Content
0

How do I give custom ids to table cells?

Oct 31, 2017 at 10:46 AM

39

avatar image
Former Member

How do I give custom id's to sap.ui.table cells? The default id's are of form - XX--YY-rows-row0-col8. I need to customize that to something else. Is there a way to do that?

I actually use sap.m.Text to show data in the cells. I need some additional data (hidden) for processing which is associated with each cell/text field. So I was thinking to pass the hidden info through the id.

If there's any other way to do so, that would be fine.

10 |10000 characters needed characters left characters exceeded

Why do you want to do it?

0
Former Member
Irfan Gokak

I actually use sap.m.Text to show data in the cells. I need some additional data (hidden) for processing which is associated with each cell/text field. So I was thinking to pass the hidden info through the id.

0

You can store it in model only with additional properties. No need to use hidden fields or something.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Oct 31, 2017 at 11:02 AM
0

why you need so?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

I actually use sap.m.Text to show data in the cells. I need some additional data (hidden) for processing which is associated with each cell/text field. So I was thinking to pass the hidden info through the id.

0