Actually only using cEdit won't be enough in the current code becasue ui-datepicker-div is not inside the cEdit div. But I will look for possible solution where we only need to use cEdit