必须要有checkbox:true和singleSelect:true,然后就可以通过var row=$("#mytab").bootstrapTable('getSelections');获取行数据了,使用时因为是单行选中所以需要row[0].列名方式取值 如下加粗加大的代码 function edit(){ // 获取当前行 var row=$("#mytab").bootstrapTable('getSelections'); alert(row[0].pro
Clipboard.Clear(); Dictionary<string, decimal> dtary = new Dictionary<string, decimal>(); string Ls = ""; foreach (int i in gridView1.GetSelectedRows()) { var da = gridView1.GetRow(i); //GridView gv = gridView1; //if (dr != null) for