[성현모] TestList 조회 페이지 개선
This commit is contained in:
@ -18,9 +18,10 @@
|
||||
|
||||
@foreach (var col in typeof(TDataModel).GetProperties())
|
||||
{
|
||||
@* if(DisableColums?.Contains(col.Name.ToLower()) == true)
|
||||
continue; *@
|
||||
|
||||
if (col.Name.ToLower().Contains("navigation") || col.Name.ToLower().Contains("stepversion") || col.Name.ToLower().Contains("isglobal")
|
||||
|| col.Name.ToLower().Contains("updatedt") || col.Name.ToLower().Contains("enable"))
|
||||
continue;
|
||||
|
||||
if (col.Name.ToLower().Equals("testdate"))
|
||||
{
|
||||
<RadzenDataGridColumn Property="@col.Name" Title="@col.Name" Width="10rem">
|
||||
@ -71,6 +72,15 @@
|
||||
</Template>
|
||||
</RadzenDataGridColumn>
|
||||
}
|
||||
else if (col.Name.ToLower().Contains("activate"))
|
||||
{
|
||||
<RadzenDataGridColumn Property="@col.Name" Title="@col.Name" Width="20rem">
|
||||
<Template>
|
||||
<RadzenCheckBox TValue="bool" Value="@Convert.ToBoolean(col.GetValue(context))">
|
||||
</RadzenCheckBox>
|
||||
</Template>
|
||||
</RadzenDataGridColumn>
|
||||
}
|
||||
else
|
||||
{
|
||||
<RadzenDataGridColumn Property="@col.Name" Title="@col.Name">
|
||||
|
||||
Reference in New Issue
Block a user