Hi Gary,
We have analysed your query. You can achieve your
requirement by setting true/false to IsHidden property in GridColumns. Please
refer the following code snippet.
Code Snippet [C#]:
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridTextColumn HeaderText="Id"
IsHidden="False"
MappingName="EmployeeId" />
<syncfusion:GridTextColumn HeaderText="Name"
IsHidden="True"
MappingName="EmployeeName" />
<syncfusion:GridTextColumn HeaderText="Title"
IsHidden="False"
MappingName="EmployeeDesignation"
/>
</syncfusion:SfDataGrid.Columns>
|
Please let us know if you need further assistance.
Regards,
Prakash S.