encodeOptionalAttr(wb, "emptyMessage", emptyMessage);
encodeOptionalAttr(wb, "stretchH", sheet.getStretchH());
encodeOptionalAttr(wb, "currentRowClassName", sheet.getCurrentRowClass());
encodeOptionalAttr(wb, "currentColClassName", sheet.getCurrentColClass());
wb.nativeAttr("rowHeaders", sheet.isShowRowHeaders().toString());
encodeColHeaders(context, sheet, wb);
encodeColOptions(context, sheet, wb);
wb.finish();
}