Hi Tony,
Thanks for your reply.
I'm able now to use the function to get default value. But there is a small problem, I have to click Add button twice in order to open the form. Is there something I missed ?
Here's my code look like :
colModel
{name:'servisNo', index:'serviceNo', editable:true, editrules:{required:true}, editoptions:{defaultValue: get_servisNo}, width:88, align:”center”}
function get_servisNo() {