on 10-11-2010 4:38 AM
Hi
I had tableview and button in my page.If i click on the button one new row should be appended to the existing tableview.
so , how to add rows in tableview using javascipt which are editable?
Regards,
Pydi.
Hello,
You can not add rows in TableView throuhg Javascript! Javascript is for client side scripting...
You can catch the event and add empty row in internal table which is used to display on screen
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Javascript is client scripting language, which is mainly used for validations at the client side.
To add new row using a HTMLB tag ucannot use javascript. Instead pass "visibleRowCount" variable to a abap variable and add the variable on every button click.. that wil increase the visible row count.
Also the size of the table view is the size of the itnernal table, so append a blank like to the internal table or insert it at the top.
If you are not using HTMLB tags and using simple HTML tags u can always add a row using java script.
Regards
Imran.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.