Servoy Properties Summary | |
---|---|
Number | alignment |
Boolean | allowAutoFit |
Boolean | allowBreakAcrossPages |
Number | autoFit |
Boolean | bidi |
Number | cellSpacing |
Number | leftIndent |
Number | preferredWidth |
Number | styleIdentifier |
Number | styleOptions |
Servoy Properties Details |
---|
alignment
Number alignment
Specifies how an inline table is aligned in the document (use ALIGMENT property).Returns
Number alignment int
Supported Clients
SmartClient, WebClient, NGClient
allowAutoFit
Boolean allowAutoFit
Allows automatically resizing of cells in a table to fit their contents (user AUTOFIT property).Returns
Boolean fit int
Supported Clients
SmartClient, WebClient, NGClient
allowBreakAcrossPages
Boolean allowBreakAcrossPages
Allow the table to break across pages (or keep together).Returns
Boolean allow boolean
Supported Clients
SmartClient, WebClient, NGClient
autoFit
Number autoFit
Resizes the table and cells according to the specified auto fit behavior.Returns
Number fit int
Supported Clients
SmartClient, WebClient, NGClient
bidi
Boolean bidi
Gets or sets whether this is a right-to-left table.Returns
Boolean bidi boolean
Supported Clients
SmartClient, WebClient, NGClient
cellSpacing
Number cellSpacing
Gets or sets the amount of space (in points) between the cells.Returns
Number spacing double
Supported Clients
SmartClient, WebClient, NGClient
leftIndent
Number leftIndent
Gets or sets the value that represents the left indent of the table.Returns
Number indent double
Supported Clients
SmartClient, WebClient, NGClient
preferredWidth
Number preferredWidth
Get/Set the preferred width (absolute width (>1), percentage (>0 and <=1) or auto (0)).Returns
Number width double
Supported Clients
SmartClient, WebClient, NGClient
styleIdentifier
Number styleIdentifier
Gets or sets the locale independent style identifier of the table style (use STYLE_IDENTIFIER property).Returns
Number identifier int
Supported Clients
SmartClient, WebClient, NGClient
styleOptions
Number styleOptions
Gets or sets bit flags that specify how a table style is applied (use STYLE_OPTIONS property).Returns
Number options int
Supported Clients
SmartClient, WebClient, NGClient
Servoy Methods Details |
---|
clearBorders
void clearBorders( )
Removes all table and cell borders on this table.Returns
void
Supported Clients
SmartClient, WebClient, NGClient
clearShading
void clearShading( )
Removes all shading on the table.Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setBorder
void setBorder( Number, Number, Number, String, Boolean )
Sets the specified table border to the specified line style, width and color (use BORDERTYPE and LINESTYLE properties).Parameters
Number type BORDERTYPE the bordertype
Number style LINESTYLE the linestyle
Number width the line width
String color the color
Boolean overrideCellBorders the override cell borders
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setBorders
void setBorders( Number, Number, String, Boolean )
Sets all table borders to the specified line style, width and color(use LINESTYLE property).Parameters
Number style LINESTYLE the linestyle
Number width the line width
String color the color
Boolean overrideCellBorders the override cell borders
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setDateFormat
void setDateFormat( String )
Set the format of the date (e.g. "dd.MM.yyyy").Parameters
String format the format
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setFormattingOrder
void setFormattingOrder( Number, Number, Number )
Set the order in which Columns, Rows and Cells should be formatted. Assign # 0, 1 and 2.Parameters
Number columnIndex the column index
Number rowIndex the row index
Number cellIndex the cell index
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setNumberFormat
void setNumberFormat( String )
Set the format of the number (e.g. "EUR #,###.00").Parameters
String format the format
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setPadding
void setPadding( Number, Number, Number, Number )
Sets the amount of space (in points) to add to the contents of cells.Parameters
Number top the top
Number left the left
Number bottom the bottom
Number right the right
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
setShading
void setShading( Number, String, String )
Sets shading to the specified values on all cells in the table (use TEXTURE property).Parameters
Number texture TEXTURE the texture
String foregroundColor the foreground color
String backgroundColor the background color
Returns
void
Supported Clients
SmartClient, WebClient, NGClient