Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1355
Difference property from igTextEditor, igNumericEditor, igDatePicker
posted

Hello!

I want create function that can set readonly for all editor type by 1 function

but i can not differentiate from igTextEditor, igNumericEditor, igDatePicker

sample

function SetReadOnlyForEditor(editorName){

if (isTextEditor)

$(editorName).igTextEditor("option","readOnly",true);

}else if(isNumericEditor){

$(editorName).igNumericEditor("option","readOnly",true);

}else

{

$(editorName).igDatePicker("option","readOnly",true);

}

On 14.2 version to prevous. You use 1 function to set readonly for editor($(name).igEditor("option","readonly",true))

But now, 15.2 version. You split it to 3 function igTextEditor, igNumericEditor, igDatePicker . So my function has not working

:(

thanks you very much!