KeyProperty keyProperty = DataSourceAnnotationReader
.getKeyProperty(dataSource);
Options options = new Options();
options.putLiteral("dataUrl", dataResource.getCallbackUrl().toString());
options.putLiteral("label",
useKeyLabel ? key.getName() : settings.label());
options.putLiteral("htmlClass", settings.htmlClass());
options.putLiteral("conversion", settings.conversion());
options.putLiteral("keyProperty", keyProperty.value());
JsQuery jsq = new JsQuery(table);
return jsq.$().chain("dashboardTable", options.getJavaScriptOptions());