onLoadSuccess: function (data) { $(".datagrid-row").mouseover(function (e) { var text = $(this).children("td").eq(1).text(); var tooltip = "<span id='tooltip'>" + text + "<\/span>"; //获取鼠标位置(将鼠标位置写在此处,而非
转自 http://blog.csdn.net/xueshijun666/article/details/18151055 // var ret = $("#in_store_list_details_grid_table").getChangedCells('dirty'); // Returns the changed cells. // var ret = $("#in_store_list_details_grid_table").getChangedCel
1.得到当前格子中的内容:DBGrid1.Fields[DBGrid1.SelectedIndex].DisplayText;把DBGrid1.SelectedIndex改为你所希望引用的字段就可以了,如第3个字段. DBGrid1.Fields[3].DisplayText; 2.双击单元格触发不同事件 procedure TMainFrm.DBGrid1DblClick(sender:TObject); begin if dbgrid1.fields[dbgrid1.selectedInde