SVN-Revision: r264
This commit is contained in:
tdx
2025-02-12 06:34:03 +00:00
parent 40b107eb82
commit e69c914f9c
+5 -3
View File
@@ -1047,7 +1047,10 @@ namespace Lskj.Control
mLoading = true; mLoading = true;
try try
{ {
if (this.OnDataSourceBindCallBack != null) this.OnDataSourceBindCallBack(null, null); if (this.OnDataSourceBindCallBack != null)
{
this.OnDataSourceBindCallBack(null, null);
}
SetColumnsSource(); SetColumnsSource();
} }
catch (Exception ex) catch (Exception ex)
@@ -1057,7 +1060,6 @@ namespace Lskj.Control
finally finally
{ {
mControlSourceDic.Clear(); mControlSourceDic.Clear();
} }
} }
else else
@@ -1071,7 +1073,7 @@ namespace Lskj.Control
foreach (GridColumnModel item in mControlList) foreach (GridColumnModel item in mControlList)
{ {
if (this.DisableFieldSources && item.isVislble) continue; if (this.DisableFieldSources && item.isVislble) continue;
if(item.FieldType == ControlType.LabSelectReturnIdNew || item.FieldType == ControlType.LabSelectReturnTextNew) continue; if (item.FieldType == ControlType.LabSelectReturnIdNew || item.FieldType == ControlType.LabSelectReturnTextNew) continue;
if (!string.IsNullOrWhiteSpace(item.SqlSource)) if (!string.IsNullOrWhiteSpace(item.SqlSource))
{ {
DataTable dataTable = new DataTable(); DataTable dataTable = new DataTable();