Is there a dataSource function I can call to trigger a read(), but only if necessary?

0 Answers 72 Views
Data Source DropDownList DropDownTree MultiSelect
iCognition
Top achievements
Rank 1
Iron
iCognition asked on 25 Sep 2024, 11:45 PM

Hello we have a number of input elements, dropdowns, multiselects, etc which we are trying to defer loading for.

The problem is they use custom shared datasources, so setting them to AutoBind false is not automatically triggering the read() function, and we have added some additional dataSource behavior around multiselectors, which leads me to my question:

Is there a dataSource function like read() which only reads data from the server if its actually necessary? e.g. on the first load, if the dataSource has detected that the user has done something to the UI element to warrant a refresh, etc?

I know there are a tonne of undocumented functions on the kendo objects, some of them not intended for everyday use, but I'd be interested to know if any of them do what we need.

Nikolay
Telerik team
commented on 30 Sep 2024, 10:02 AM

Hi Matt,

These inputs - the MultiSelect and DropDownList - do not have saving to the remote serve functions. Generally, they serve as options for the user to update other UI parts of the application.

Are these inputs inside a form?

Can you share a more specific scenario so I can better understand the case?

Regards,

Nikolay

No answers yet. Maybe you can help?

Tags
Data Source DropDownList DropDownTree MultiSelect
Asked by
iCognition
Top achievements
Rank 1
Iron
Share this question
or