2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
DataForm allows you to load the picker editor ItemsSource from local database using SQLite. To achieve this, follow the steps:
Refer to the following link to know how to create SQLite connection:
In Android cross-platform project,
In iOS cross-platform project,
In UWP cross-platform project,
Refer to the following code example for binding the DataObject and register the editor as Picker for the property City using RegisterEditor in DataForm.
https://help.syncfusion.com/xamarin/sfdataform/editors#customizing-itemssource-of-picker
Get the database table data in DataForm when setting the DataObject.
Create a class to get the picker item in database.
To display complex type property as picker (other than enum data type), refer to the user guide documentation.
Note: Picker editor is not supported in Xamarin.Forms.UWP platform.
You can refer to the DataForm user guide documentation to learn more about picker: https://help.syncfusion.com/xamarin/sfdataform/editors#picker-editor
To download sample click PickerItemsFromSQLite. |
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.