Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143358 | Mar 15,2019 02:06 PM UTC | Mar 27,2019 04:58 AM UTC | Xamarin.Forms | 7 |
![]() |
Tags: SfDataGrid |
[Xaml]
<sfgrid:SfDataGrid.Columns>
<sfgrid:GridTextColumn MappingName="OrderID" IsHidden="True"/> </sfgrid:SfDataGrid.Columns> [C#]
GridTextColumn column = new GridTextColumn();
column.MappingName = "CustomerID"; column.IsHidden = true; dataGrid.Columns.Add(column); [Runtime C#]
foreach(var column in dataGrid.Columns)
{ if(column.MappingName == "OrderID") { column.IsHidden = false; } } |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.