|
@@ -37,7 +37,7 @@ public class DynamicGridColumnNameSelectorGrid : DynamicItemsListGrid<DynamicGri
|
|
|
|
|
|
public string SearchText { get; set; }
|
|
|
|
|
|
- public DynamicGridColumnNameSelectorGrid(Type type, string[] columnNames)
|
|
|
+ public DynamicGridColumnNameSelectorGrid(Type type, IEnumerable<string> columnNames)
|
|
|
{
|
|
|
var items = new List<DynamicGridColumnNameSelectorItem>();
|
|
|
var parentCols = new HashSet<string>();
|
|
@@ -223,7 +223,7 @@ public class DynamicGridColumnNameSelectorGrid : DynamicItemsListGrid<DynamicGri
|
|
|
base.Reload(criteria, columns, ref sort, token, action);
|
|
|
}
|
|
|
|
|
|
- public static bool SelectColumnName(Type type, string[] columnNames, out string value)
|
|
|
+ public static bool SelectColumnName(Type type, IEnumerable<string> columnNames, out string value)
|
|
|
{
|
|
|
var grid = new DynamicGridColumnNameSelectorGrid(type, columnNames)
|
|
|
{
|