This is in reference to this question.
I have to use the script mentioned in the approved answer at various pages. So, I have kept the part till the line
this.ds.dataProvider = this;
in an external JS file.
Now, since I am to reuse the prototyping, how do I get reference to the DataTable's constructor arguments in the page which references this JS, i.e. "basic", columnList, this.ds
???
Didn't know this question was posted under a different context so posting solution to close thread.
Used this solution : How to use YAHOO.util.Connect.asyncRequest and return results?