如何在GridviewButton事件期间确定是否选中了multiselect中的Xtragrid = True模式检查按钮?请参见下面的网格图:
https://docs.python.org/2/library/logging.html#logrecord-attributes
答案 0 :(得分:0)
解决了 -
gridView1_SelectionChanged
var view = sender as GridView;
if (view == null) return;
view.BeginSelection();
int[] selectedRows = view.GetSelectedRows();
int[] RowHandle = view.GetSelectedRows();
try
{
for (int i = -1; i < selectedRows.Length; i++)
{
if (selectedRows.Length == 0)
{
clear();
}
else
{
//Clear all value zero
foreach (int value in RowHandle)
{ deger += Convert.ToDouble(gridView1.GetRowCellValue(value, "FieldName")); }
}
}