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.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment