I have a sfgrid control in my web applications.I have set visible =false in grid column (for orderid column) but it's not working. Please advise how to hide column
Thanks for reply..
I have check above example, it works fine as per our requirement but when I add custom CSS, then its not working. Please check attached source code with custom css file (UIUX.css) and advise where it is problem
Attachment: DataGrid_Server_23e45c4c.zip
|
.e-grid .e-rowcell {
border-style: solid;
border-width: 1px 0 0 0;
/*display: table-cell;*/
font-size: 10px;
font-family: Helvetica !important;
line-height: 18px;
overflow: hidden;
padding: 2px 10px;
/* vertical-align: middle;*/
white-space: nowrap;
width: auto;
}
|
Thanks for reply...
Can I get value from grid hidden column value if column is visible false ??
|
<SfGrid @ref="Grid" DataSource="@Orders" Height="315">
@code{
public List<Order> Orders { get; set; }
SfGrid<Order> Grid { get; set; }
public async Task GetValues()
{
var Records = await Grid.GetCurrentViewRecordsAsync();
}
} |