在Grid中除了字段之外,另外增加一个变量&xuhao,标示grid中每条记录的序号(从1开始);
Rules中,写入color('WHT/BLU+',UID) if &xuhao1=&xuhao;
Event中,写入:
Event UID.click
&xuhao1=&xuhao
Refresh Keep
EndEvent
Event Refresh
&i=0
EndEvent
Event Load
&i+=1
&xuhao=&i
load
EndEvent