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;
try
{
if (this.OnDataSourceBindCallBack != null) this.OnDataSourceBindCallBack(null, null);
if (this.OnDataSourceBindCallBack != null)
{
this.OnDataSourceBindCallBack(null, null);
}
SetColumnsSource();
}
catch (Exception ex)
@@ -1057,7 +1060,6 @@ namespace Lskj.Control
finally
{
mControlSourceDic.Clear();
}
}
else
@@ -1071,7 +1073,7 @@ namespace Lskj.Control
foreach (GridColumnModel item in mControlList)
{
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))
{
DataTable dataTable = new DataTable();