Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

add row dynamically in the table.

Avatar

24-11-2008

Please suggest me javascript function to add row dynamicly in the table whenever i click the add button..........

thanks...........

Replies

Avatar

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
aoatak
Level 4

25-11-2008

Hi,<br />You can use subforms instead of tables and the javascript on the click event of the button will be like:<br />form1.page1.<your_subform>.instanceManager.addInstance(0);<br /><br />Oguz<br />www.kgc.com.tr

Avatar

25-11-2008

hi

i used your subform solution but i want to delete specific row then what will you suggest?

Avatar

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
aoatak
Level 4

25-11-2008

Put a "delete row" button to your repeating subform and use the following script on the click event:<br />form1.page1.<repeating_subform>.instanceManager.removeInstance(this.parent.index);<br /><br />Oguz<br />www.kgc.com.tr

Avatar

26-11-2008

thanks otk



i written your above metioned script but it delete row first row of the table. means parent of this instance. then how i can delete particular mentioned row?