.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../Includes.txt .. _cobj-ctable: CTABLE ^^^^^^ Creates a table in which you can define the content of the various cells. A CTABLE is a little more feature packed than the simple :ref:`OTABLE `. It features a content column and four surrounding columns, which may be useful for putting menus into them. .. ### BEGIN~OF~TABLE ### .. container:: table-row Property offset Data type x,y /:ref:`stdWrap ` Description Offset from upper left corner. Default 0,0 .. container:: table-row Property tm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description TopMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property lm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description LeftMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property rm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description RightMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property bm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description BottomMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property c Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description Content-cell The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property cMargins Data type :ref:`margins ` /:ref:`stdWrap ` Description Distance around the content-cell "c". Default 0,0,0,0 .. container:: table-row Property cWidth Data type :ref:`pixels ` /:ref:`stdWrap ` Description Width of the content-cell "c". .. container:: table-row Property tableParams Data type -params /:ref:`stdWrap ` Description Attributes of the table tag. Default border="0" cellspacing="0" cellpadding="0" .. container:: table-row Property stdWrap Data type :ref:`->stdWrap ` .. ###### END~OF~TABLE ###### [tsref:(cObject).CTABLE] .. _cobj-ctable-examples: Example: """""""" :: page.10 = CTABLE page.10 { offset = 5, 0 tableParams = style="border-width: 0px; width: 400px;" cWidth = 400 c.1 = CONTENT c.1.table = tt_content c.1.select { pidInList = this orderBy = sorting } tm.10 < temp.sidemenu tm.TDParams = style="vertical-align: top;" stdWrap.wrap =
|
}