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?
4 Answers, 1 is accepted
0
Hi, Jon,
Thank you for writing.
1. Currently TKDataForm does not support editing properties that are complex objects. Implementing such functionality is in our future plans. This is logged in our feedback portal. You can follow the status of the feature there.
2. You can achieve such scenario by implementing DidEditProperty method of TKDataFormDelegate and set the Hidden property of TKEntityProperty. Then you should call reloadData on TKDataForm to hide the editors. Please refer to the code below:
I hope this helps. Should you need further assistance, I will be glad to help.
Regards,
Adrian
Telerik
Thank you for writing.
1. Currently TKDataForm does not support editing properties that are complex objects. Implementing such functionality is in our future plans. This is logged in our feedback portal. You can follow the status of the feature there.
2. You can achieve such scenario by implementing DidEditProperty method of TKDataFormDelegate and set the Hidden property of TKEntityProperty. Then you should call reloadData on TKDataForm to hide the editors. Please refer to the code below:
public
override
void
DidEditProperty (TKDataForm dataForm, TKEntityProperty property)
{
if
(property.Name ==
"Hide"
&& ((NSNumber)property.ValueCandidate).BoolValue ==
true
) {
foreach
(TKEntityProperty prop
in
this
.owner.dataSource.Properties) {
if
(prop.Name !=
"Hide"
) {
prop.Hidden =
true
;
}
}
dataForm.ReloadData();
}
}
I hope this helps. Should you need further assistance, I will be glad to help.
Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
jon
Top achievements
Rank 1
answered on 11 Jan 2016, 05:08 PM
Can a values provider be separated into groups? like the data forms can be?
0
jon
Top achievements
Rank 1
answered on 11 Jan 2016, 09:51 PM
And can more than one selection be done with it?
0
Hi, Jon,
Currently TKDataForm does not support multiple selection and grouping of values. These features are reasonable and I logged them in our feedback portal. You can follow their status here and here. I also updated your Telerik points accordingly.
If you have further questions, do not hesitate to contact us.
Regards,
Adrian
Telerik
Currently TKDataForm does not support multiple selection and grouping of values. These features are reasonable and I logged them in our feedback portal. You can follow their status here and here. I also updated your Telerik points accordingly.
If you have further questions, do not hesitate to contact us.
Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items