M
Mohammed Siraj
Guest
Iram, inputEl.data("kendoSomething") & rbf_getFieldContext("fieldIntegrationName").getKendoConfig() will both result in the SAME kendo control configuration object. So any further chaining of methods will NOT be affected i.e. enable() or readOnly(). Advantages with rbf_getFieldContext approach: It will execute faster as jquery node reference is part of fieldContext object state. It will not have any comptability issues across releases & also does not impose any requirement on user to know about exact kendo widget i.e kendoNumericTextbox or kendoDropdownList or kendoMaskedTextBox. Note that rbf_getFieldContext(fieldIntegrationName) will not give you kendo control configuration object. It is a root level field context object which enapsulates state & behavior of the given field. You need to call getKendoConfig() on this fieldContext object to access the kendo control configuration. Eg: rbf_getFieldContext("fieldIntegrationName").getKendoConfig()
Continue reading...
Continue reading...