SPDazzle includes the following methods:

Name Parameters Default Description
$().SPDazzle.addSectionHeaderAbove() 

columnTitle: the display name of the column you want the section header to be placed above
content: the text or html that you want to use as the section content
collapse: The number of columns (below the section) you want to hide/show when the section header is clicked (optional)

(none)
The title of the column
false

Creates a section header to seperate fields on a SharePoint display, edit and new form pages
$().SPDazzle.hideColumn() columnTitle: the display name of the column you want to hide (none) Hides a column
$().SPDazzle.twoColumnForm() (none) N/A This modifes an edit or new form to make the fields show side-by-side in a two column format
$().SPDazzle.setTableWidth() Width: a number (in pixels) to set the table width 600 Changes the table width for display, edit and new form pages
$().SPDazzle.securityTrim() columnTitle: the displayname of the column(s) you want to security trim (comma seperated values)
showToGroups: The name of the SharePoint group(s) you want to limit the display of the column to (comma seperated)  
(none)
(none)
Hides a column from all people, except those in the groups entered in the 'showToGroups' parameter
$().SPDazzle.watermark() columnTitle: The display name of the column you want to add a watermark to
watermarkText: The text to display inside the input box of the column
All columns
The title of the column
Puts a watermark into input elements of columns on new and edit forms. Text, multi-line and rich
text columns are supported.

Example usage for each method coming soon.

Last edited Oct 12, 2011 at 4:26 PM by crackelacken, version 4

Comments

No comments yet.