Extend datatable.

@jf can you review this? thanks.