on 09-02-2008 12:35 PM
Hi Brothers,
I have a Table UI Element and a delete button. The delete button deletes rows of the table and marks the rows red in an action. However, the red marking only appears after leaving the row, not just in time with the button press...
How can I have my row beeing marked just in time with pressing that delete button??
Thanks, Johannes
Hi,
It would be helpfull if you could post the code or the steps you have followed...
One option that could be of use for you is to set the leadselection to a different element after delete button is pressed.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One might wanna check the coding. You have to pay attention when there's only 1 element in the table.
// set the lead selection away for the marking to take effect
if (wdContext.nodeCustomerWithTxt().size() > 1){
if (leadSelection > 0){
int leadSelectionChange = leadSelection -1;
wdContext.nodeCustomerWithTxt().setLeadSelection(leadSelectionChange);
} else { // leadSelection == 0
int leadSelectionChange = leadSelection +1;
wdContext.nodeCustomerWithTxt().setLeadSelection(leadSelectionChange);
}
}
So long, Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create an attribute of type TextViewDesign in the node that you bind to the datasource of the table.Bind this attribute tothe design property of textview(Cell Editor).Based on the condition set this attribute to your need(bold or something)
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c29a4d25-0c01-0010-50ae-e69d0e1c61f3]
Regards,
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.