hi good days to all,
i go through example source code here https://github.com/telerik/telerik-xamarin-forms-samples/blob/master/QSF/QSF/Examples/DataFormControl/ReservationsExample/DataFormView.xaml.cs
validation is done through code behind :
private void DoneButton_Clicked(object sender, EventArgs e)
{
this.dataForm.FormValidationCompleted += DataForm_FormValidationCompleted;
this.dataForm.ValidateAll();
}
I'm using command binding in button to call delegate command in mvvm. Is it possible to call ValidateAll() from within mvvm or specific method to achieve this ?
Date picker on iOS behaves and looks stangelly. Please see screenshot attached of the Example app provided in the latest available package Telerik_UI_for_Xamarin_2020_3_1106_1_Dev
Is it possible in UI for Xamarin to have a DataForm with a custom editor to display a ListView (with options to choose from) in a new View/Page?
This behaviour I am trying to describe is similar to searching/choosing a Table and/or Location in the sample app "Telerik UI for iOS" (Data Form > Reservations).
Any pointer would be appreciated.
I have noticed in the docs there is a guide on how to implement an autocomplete editor in android:
http://docs.telerik.com/devtools/xamarin/controls/dataform/howto/dataform-howto-use-native-editors-android#autocomplete-editor-in-android
Is there an equivalent example on how to do this in iOS as I am struggling to get it working?
Thanks, James.
Hi, I was wondering if there was a way to specify the values that come back from a Data Form Segmented Editor. If I supply an array with four values to the ValuesProvider for the editor, instead of the default 0-3 values that would come back depending on what was selected, can we supply it with values for each option so that it comes back as 1-4 instead of 0-3. I was going to try and create a TKDataSource with an object that had a name and value, but it doesn't look like you can attach a TKDataSource to a segmented editor. Am I stuck with the default values in this case?
Thanks,
Nick
Hi,
I'm trying to load a DataForm in a modal view :
- actionDataForm.ModalPresentationStyle = UIModalPresentationStyle.FormSheet;
When I use an EditorClass of type "TKDataFormOptionsEditor", I can't click on the ">" button to show the options list.
It works fine when I open the DataForm in full screen mode.
How can I make it work ?
Regards,
if (property.Name == "StartDate") {
if (this.ownerVC.dataSource ["StartDate"].ValueCandidate == null) {
((TKDataFormDatePickerEditor)editor).EditorValueLabel.Text = string.Empty;
}
}
Is there there a way to do a drill down into multiple levels in a values provider? For example, the values provider would show a cell with the value 'Colors' and if they selected 'Colors' it would push to another values provider with color names (red, blue, etc.)?
Also, is there a way to dynamically hide/show properties in the data form based on the values selected in a values provider and when they change?