0

clone()方法的问题?

asked 2008-07-29 11:32:19 +0800

gaoj2008 gravatar image gaoj2008
70 1

因为要动态添加行,所以用到了row.clone();但是发现,在取值时,总是有问题。取第一行时,取出的各个字段的值竟不是一行上的,取第二,第三行时,索性全部为空,一个也没有取过来,郁闷。只好弃用row.clone();自已一个一个组件的添加了上去,未再能出现上述问题。

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-07-29 11:32:19 +0800

Seen: 359 times

Last updated: Jul 29 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More