[성현모] Overview Merged 통합, 컬럼 필터링 추가
This commit is contained in:
@ -19,8 +19,12 @@
|
||||
|
||||
@foreach (var col in typeof(TDataModel).GetProperties())
|
||||
{
|
||||
if (col.Name.ToLower().Equals("rn") || col.Name.ToLower().Equals("stepversion"))
|
||||
|
||||
if(DisableColums?.Contains(col.Name.ToLower()) == true)
|
||||
continue;
|
||||
@*
|
||||
if (col.Name.ToLower().Equals("rn") || col.Name.ToLower().Equals("stepversion"))
|
||||
continue; *@
|
||||
|
||||
if (col.Name.ToLower().Equals("testdate"))
|
||||
{
|
||||
@ -85,6 +89,9 @@
|
||||
[Parameter]
|
||||
public int PageSize { get; set; } = 30;
|
||||
|
||||
[Parameter]
|
||||
public List<string> DisableColums { get; set; }
|
||||
|
||||
private IList<TDataModel> SelectedRow;
|
||||
|
||||
private void CellRender(DataGridCellRenderEventArgs<TDataModel> args)
|
||||
|
||||
Reference in New Issue
Block a user