Hi Partheeban,
By "works with query" I meant that the scenario works when I pass data to table by making MII service call through AJAX. Please find attached the code for the same.
I'm not sure if this is what you are actually looking for. I still don't get why the same code doesn't work for you.
Best Regards,
Ria