0

有關欄位In-Place 屬性設為True的DataGrid的問題

asked 2011-02-24 01:00:48 +0800

JamesJavaLin gravatar image JamesJavaLin
51 3

各位先進:

小弟的疑問如下
一、當使用者編輯(變更)In-Place設為true的欄位的值的時候,要如何觸發寫入後端資料庫的事件?
二、當DataGrid有多筆資料時,如何判斷被使用者編輯(變更)的是哪一行資料?

以上 謝謝

James Lin

delete flag offensive retag edit

3 Replies

Sort by » oldest newest

answered 2011-03-01 18:47:48 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Listen to onChange event.

link publish delete flag offensive edit

answered 2011-03-02 07:32:21 +0800

JamesJavaLin gravatar image JamesJavaLin
51 3

Thank a lot.

But about the 2nd problem,
How do I know which row that the column belong to, has be changed?

James Lin

link publish delete flag offensive edit

answered 2011-03-02 18:52:30 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Please provide a simple sample code that we can discuss on. It will make the communication much more easier.

link publish delete flag offensive edit
Your reply
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: 2011-02-24 01:00:48 +0800

Seen: 830 times

Last updated: Mar 02 '11

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