on 03-10-2010 6:16 AM
Hi Friends,
I have one doubt in Webdynpro with java. How to put Check box in every row in Table?
For Exam My requirement is I am getting BAPI from ECC System. So I have to go given input details in first view and output details in SecondView. So in Second View I will taken Table that data will displayed in rows. I need each and every row first I need check box.
Here Select Check Box of particular row then click GetData button. That row data will be displayed in one popup window.
In table suppose 6 rows available in table. Every Row first Check box available.
empid, name, sal ,firstname, last Name
empid, name, sal ,firstname, last Name
empid, name, sal ,firstname, last Name
How to put Check box in every row in Table? can you send any examples applications
Regards
Vijay
Dear Vijay,
For the requirement you mentioned, you can use the default row selector, which is already present in the table UI.
This will simply you application, otherwise if you explicitly want a check box then you have to add one more attribute to your node i.e apart from empid, name, sal ,firstname, last Name add CheckBox attribute to your node, then create a table Table UI,>>right click on the table UI>>Select create binding >>Select all the attributes of your node >> select next >>Now here you will find the Table binding wizard in the Editor colums of your check box roww select the Ui element as Check Box>>Click on finish.
Hope it helps!!
Warm Regards
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friend,
When we are getting BAPI From ECC System. that BAPI Have nodes and Attribues...in under node we can't create "CheckBox"
attribute.
So i am doing like this.I am create on Checbox attribue out side of Node. Check Box data type is boolean.
next i am creating table ( that table having rows and columns) Right click on table-->Click on Insert GroupedColumn->again right click on nsert GroupedColumn---> Here Select Check Box.
Okay...here i am getting one problem. i have got Check boxes .But i am select check box in first row. that time all check boxes will be selected.
i need select first row check box that only first row will be selected suppose i selected second row check box that only second will be selected.
i need this can u help me....
Regards
Vijay
Hi Friend,
Yes you can create attribute inside model node And in this case you should. After creating an attribute of type Boolean just bind it with the Checkbox Ui Elements Checked property. as per requirement just check the particular element of the Node and check or uncheck the check box.(Will be automatically done if you will supply the value to the attribute based on your condition).
Regards
Jeetendra
Hi Vijay,
When we are getting BAPI From ECC System. that BAPI Have nodes and Attribues...in under node we can't create "CheckBox" attribute.
we can create nodes and attributes for the model node.
goto Data Modeler View -> double click on the link which is representing between model and component(custom) controller->
right click on the node where you want to place check box attribute.
Regards
Murthy
I am create on Checbox attribue out side of Node. Check Box data type is boolean.
Okay...here i am getting one problem. i have got Check boxes .But i am select check box in first row. that time all check boxes will be selected.
i need select first row check box that only first row will be selected suppose i selected second row check box that only second will be selected.
Checkbox attribute always should be inside of the node.
Adding new attribute for model node go to Diagram View (not DataModelerView which i mention earlier), remaining steps are
same.
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.