call back outside ajax block
call back outside ajax block
Hi,
I have created a common component to draw data table.
I need to pass 4 parameters (elementid, columndefination, aoColumns, jsonurl) from the view page where I want to initialize that data-grid component.
Now my requirement is to have calendar component as column value. Is there a way in data-table to pass this call back from my view page.
I don't want to make a callback() after the ajax success in my component as this become a global change which must affect the pages where I don't want calendar component. I can achieve this by passing a additional flag from view page but I am already in middle and 100 more pages is using this component, any change to component initialization need to be modified in existing pages.
Question is quite lengthy and confusing. Please let me know if you experience any difficulty to follow me.
Thanks,
Keshab