1
然後dhtmlxLayout單元格被摺疊,我怎樣才能使標題文本爲中心對齊,以及如何使整個標籤單元格處於摺疊狀態時可點擊? 我有下面的代碼:dhtmlxlyout標題文本對齊中心
dhxLayout = new dhtmlXLayoutObject(document.body, "3U");
dhxLayout.cells('a').setText('<div id="a">Text to Center</div>');
dhxLayout.cells('b').setText('<div id="b">Text to Center</div>');
dhxLayout.attachEvent("onDblClick", function (itemId){
//how can I do it here?
}