Overriding YAHOO.widget.DataTable functions with inputEx.widget.DataTable

1 view
Skip to first unread message

Joe

unread,
Jul 31, 2009, 1:38:27 PM7/31/09
to inputex
I have migrated a YAHOO.widget.DataTable to use the inputEx datatable
(beta). I had a paginator in the old table and overrode the
handleDataReturnPayload with a different function. I was wondering
what the best approach would be for the inputEx datatable to have the
same ability.

To make this work I modified the inputEx datatable.js by adding the
following line (in the renderDatatable function):

this.datatable.handleDataReturnPayload =
this.options.handleDataReturnPayload;

the function is passed in with the options.

Any thoughts or better solution is much appreciated.

Thanks in advance,
Joe

neyric

unread,
Aug 10, 2009, 5:24:30 AM8/10/09
to inputex
Hi,

I don't have a better solution yet...

The current datatable widget still is beta...
However, I'm working on a complete refactoring of the inputEx
datatable component...

Joe Developer

unread,
Aug 10, 2009, 5:44:08 AM8/10/09
to inp...@googlegroups.com
Welcome back neyric :)

Haven't seen you around for awhile.

-unomi

http://joedev.no-ip.org
Every Facet, Every Department Of Your Mind Is To Be Programmed By You, And Unless You Assume Your Rightful Responsibility To Program Your Own Mind, The World Will Program It For You.
Chat Google Talk: joe.d.d...@gmail.com Skype: joe-developer MSN: rf2...@hotmail.com

neyric

unread,
Aug 10, 2009, 6:25:57 AM8/10/09
to inputex
Thanks :)

I'll try to write here more regularly...

On 10 août, 11:44, Joe Developer <joe.d.develo...@gmail.com> wrote:
> Welcome back neyric :)
>
> Haven't seen you around for awhile.
>
> -unomi
>
> http://joedev.no-ip.org
> Every Facet, Every Department Of Your Mind Is To Be Programmed By You, And
> Unless You Assume Your Rightful Responsibility To Program Your Own Mind, The
> World Will Program It For You.
> Chat Google Talk: joe.d.develo...@gmail.com Skype: joe-developer MSN:
> rf2...@hotmail.com

Joe

unread,
Aug 29, 2009, 11:22:06 AM8/29/09
to inputex
Thanks for the reply.

Since my original post, I decided to modify the inputex datatable to
extend YUIs datatable. Please let me know if you would like the
source.

Regards,
Joe

neyric

unread,
Sep 18, 2009, 12:40:24 PM9/18/09
to inputex
Hi Joe,

Of course we would love to see your contribution.
The current repository already made a lot of changes on the datatable
components.

Could you submit it to a fork on github ?

Regards,
Eric
Reply all
Reply to author
Forward
0 new messages