Hello,
Has anyone got an example of using the SfPicker with 3 columns?
For example, Country / State / Post code.
I've modified the example accordingly and the picker initialises correctly; with 3 columns, the headers and default selection but it crashes on picker_SelectionChanged at the line i've highlighted.
if (picker.ItemsSource != null && e.NewValue is IList && (e.NewValue as IList).Count > 0 && CurrentItem != (e.NewValue as IList)[0].ToString())
{
//Updated the second column collection based on first column selected value.
(picker.ItemsSource as ObservableCollection<object>).RemoveAt(0);
(picker.ItemsSource as ObservableCollection<object>).Add(GetCountry((e.NewValue as IList)[0].ToString()));
}
Can anyone point me in the right direction?
Best regards,
Iain