sdk:DataGrid数据绑定后,部分特殊的行需要用不同的背景颜色来显示.(注册DataGrid的LoadingRow事件) private void radGridView_LoadingRow(object sender, DataGridRowEventArgs e) { //获取当前加载的行标(从0开始) int i = e.Row.GetIndex(); //获取DataGrid绑定的数据集合 ObservableCollection<CntrMstModel> list = ra
我将全部的代码上传到了github,你可以下载查看 <!-------change the background color--------------> <script> function color1(event) { var cubebody=document.getElementById('body_color'); cubebody.className = 'graydient1'; } function color2() { var cubebody=document.