on 08-20-2015 11:07 AM
Hello Experts,
I want to show a column on the click of a button.
There are 3 fields in the entity. Name Marks Mobnum
Initially I am displaying only Name and Marks. I have a button on the press of which I need to show the Mobnum and hide the Marks.
In short, replace Marks with Mobnum.
I hid the Marks column but am unable to show the Mobnum.
Please advise.
Thanks in advance!
Hey Pratik,
Might be there are lot of ways for doing this. But according to me below is the best way(considering you are using sap.m library controls ) :
What you can do create all the three columns and attach your data. But for the Mobnum column(sap.m.Column visible property) make visible=false. This means physically column is there but its not visible to user.
And when you press the button change visible=true for Mobnum and visible = false for Marks column.
if you still face any challenges reply the code snippets i will direct you where to make the changes.
Hope this helps you.
Cheers,
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.