关于DataWindow.net,如何实现两个WebDataWindowControl的联动

关于DataWindow.net,怎么实现两个WebDataWindowControl的联动?
我做了两个WebDataWindowControl控件,一个是消费总帐,一个是明细,需要在鼠标点击总账的某条记录时,显示它的明细。现在不知道该怎么做……

------解决方案--------------------
用filter函数.
setfilter("")
filter()
------解决方案--------------------
一种方法用用filter函数. 
setfilter("") 
filter() 
另外一种是retrieve("参数"),
个人觉得使用retrieve("参数"),刷新速度相对快些,因为filter是资料刷出来后再执行filter方法。
master/detail方式,一般有主键连接 ,如:master--WebDataWindowControl1,detail--WebDataWindowControl2,点击WebDataWindowControl1中对应资料,取得主键值,通过WebDataWindowControl2.retrieve("主键值"),进行连接,即可。当然WebDataWindowControl2中的数据窗口在设计阶段需要设置传递参数。