public Task SetFrozenFieldsAsync( List<string> fieldNames )
Public Function SetFrozenFieldsAsync( _ ByVal fieldNames As List(Of String) _ ) As Task
Parameters
- fieldNames
public Task SetFrozenFieldsAsync( List<string> fieldNames )
Public Function SetFrozenFieldsAsync( _ ByVal fieldNames As List(Of String) _ ) As Task
var tv = TableView.Active; if (tv == null) return; // get list of frozen fields var frozenfields = tv.GetFrozenFields(); // un freeze all fields await tv.ClearAllFrozenFieldsAsync(); // freeze a set of fields await tv.SetFrozenFieldsAsync(new List<string> { "CITY_FIPS", "STATE_FIPS" });
Target Platforms: Windows 11, Windows 10