DominoToGo View UI Control

There is a ready to use UI control to display a DominoToGo view. Example:

<Require src="jbuss/forms/component_dominoview" db="crm" view="(mobile_tagesberichte)" columns="2,3,4,5" columnTitles="DocID,Date,Report Type,Description,User" 
 viewFilter="#js:Alloy.Globals.currentCompanyID" height="300" columnWidth="0%,15%,8%,8%,65%" rowClass="custom_rowEven,ustom_rowOdd"
 c_onClick="custom.event_tagesberichte_view_click"/>

db = “<database>” Name of DominoToGo database.

view = “<view>” Name of the DominoToGo local view.

optional: viewFilter = “<filter for view>” #js: supported

columns = “1,2,3…” columns of the view to display (identified by their column number, not their column name)

optional: columnTitles = “title1,title2…” title for each column of the view, not only for displayed columns when “columns” is used. #js: supported

optional: columnHeaderClass = “<class for col1>,<class for col2>,…” TSS classes for column header that are used in addition (and with higher priority) to the standard jbDominoview_columnHeader class.

optional: columnClass = “<class for col1>,<class for col2>,…”  TSS classes for columns that are used in addition (and with higher priority) to the standard jbDominoview_column class.

optional: columnWidth = “<width for col1>,<widht for col2>…” custom width for columns.

optional: rowHeaderClass=”<class for column header row>”

optional: rowContainerClass=”<class for one row>” TSS class for the container view which contains the labels for each column in addition (and with higher priority) to the standard jbDominoview_rowContainer class.

optional rowClass=”<class for even row>,<class for odd row>” different classes for alternating rows in addition (and with higher priority) to the standard jbDominoview_rowContainer class.

optional noinit=”true” if set to true the view will not inititalize and load data when it’s controller is initialized by Alloy. You can use $.id.c_prepare() somewhere else to load data into the view.

optional c_onClick=”custom.javascript_function” JS function in jbuss_custom/forms, gets the clicked item as parameter