Disable inline search - Lookup field - Selector style

Posted by IramK on 31-May-2016 04:23

Hello,

I am trying to disable the inline search for a selector style lookup field. Is there a way to do this programmatically?

Cheers.

Iram

Posted by Mohammed Siraj on 31-May-2016 04:30

Please try the following snippet:

rbf_getFieldContext('R61218').getKendoConfig().setDataSource( new kendo.data.DataSource({

                   data: []

}))

This should be applied only for Lookup Fields of type selector. It will clear the datasource of kendo widgets. Values can only be set via Selector launch.

All Replies

Posted by Mohammed Siraj on 31-May-2016 04:30

Please try the following snippet:

rbf_getFieldContext('R61218').getKendoConfig().setDataSource( new kendo.data.DataSource({

                   data: []

}))

This should be applied only for Lookup Fields of type selector. It will clear the datasource of kendo widgets. Values can only be set via Selector launch.

Posted by IramK on 31-May-2016 04:33

Thanks Siraj, that has worked straight away.

Cheers.

Iram

This thread is closed