0

I cannot figure out for the life of me how to add a custom class to a YUI datatable.

e.g.,

<table class="custom-class">...</table>
4

1 回答 1

0

在 YUI3 中,这只是一个问题:

var datatable = new Y.DataTable(...);
datatable.get('boundingBox').addClass('custom-class');
于 2013-05-03T12:12:54.050 回答