DbNetGrid Client Properties

Top  Previous  Next

Basic Properties

The simplest grid can be created by specifying just the connectionString and fromPart properties

connectionString (string)

The connectionString property provides the information necessary to connect to the database. The connection string can either be an actual connection string or an alias which is resolved by finding a matching entry in the <connectionStrings> section of the web.config file. For details of specifying connection strings see the database connectivity section.

fromPart (string)

The FromPart property specifies the name of the table(s) or view(s) from which the grid data should be selected. Data from multiple tables can be selected by including the join statement with the tables e.g.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			connectionString = "SamplesDatabaseVistaDB"
			fromPart = "Customers join Orders on Customers.CustomerID = Orders.CustomerID join [Order Details] on Orders.OrderID = [Order Details].OrderID"

			initialize()
		}
	}
	</script>

Run Sample

Additional Properties

advancedSearch (boolean)

Enables/disables the advanced search dialog

advancedSearchDialog (object)

Reference to the Advanced Search Dialog object

audit (string)

Enables tracking of the date and the user that  changes made to the record in the edit dialog. Possible values are none, summary and detail. In summary mode only the date/user of the last change to a record is recorded, in detail mode all changes to the record are recorded and can be viewed in the Audit History dialog.

 

Auditing can also be implemented at the column level if changes to a specific column need to be tracked.

auditDateFormat (string)

Controls the format of the last modified date displayed when auditing is enabled.

auditUser (string)

Identifies the user that made a change when auditing is enabled. If the web application page is authenticated then the property will default to the authenticated user.

autoRowSelect (boolean)

Automatically selects the first row in the grid when a page is loaded (defaults to true)

Run Sample

caption (string)

Adds a heading row to the grid.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			connectionString = "SamplesDatabase"
			caption = "Sales in March 1995"
			navigation = false
			rowInfo = true
			procedureName="[Sales By Year]"
			procedureParameters = {BeginningDate : "1-Mar-1995", EndingDate : "31-Mar-1995"
			initialize()
		}
	}
	</script>

Run Sample

chartConfig (object)

Specifies the configuration settings for a pre-configured chart to be produced from the grid data. The configuration can be generated using the Chart Configuration Dialog.

Run Sample

chartSerialize (boolean)

Hides/Shows the Serialize button in the Chart Configuration Dialog that is used for generating an object to be assigned to the chartConfig object.

Run Sample

columnPickerDialog (object)

Reference to the Column Picker Dialog object

commandTimeout (number)

Specifies the number of seconds the grid population query should run before timing out. The default is 30 seconds. A value of 0 will prevent the query from timing out at all.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
		  ...
			commandTimeout = 120;
			initialize()
		}
	}
	</script>

customProfileProperties (array)

User profiles can also save information other than grid properties by adding an element to the customProfileProperties array property with either the name of a window property or a jQuery id or class selector that matches an input, select or textarea element. The values in these elements/variables will be saved and restored with the profile.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
		  ...
			customColumnProperties.push("#reportTitle")
			initialize()
		}
	}
	</script>

Run Sample

customSave (boolean)

Causes grid export to be send to the client for customisation first. Not suited to the export of large numbers of rows. This property is required to be set of you want to use the onCellTransform event for the export.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
		  ...
			customSave = true;
			bind("onCellTransform",customiseExport)
			initialize()
		}
	}
	</script>

Run Sample

dbNetSpell (object)

Reference to the DbNetSpell object that is used to configure the DbNetSpell object when integrated spell checking is enabled. If the connectionString property is not specified then grid connection string is used.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			connectionString = "SamplesDatabase"
			fromPart = "Employees"

			dbNetSpell.connectionString = "DictionaryDatabase";
			dbNetSpell.dictionaryTableName = "english_us";
			
			pageSize = 5;

			setColumnExpressions("EmployeeID","LastName","FirstName","Notes");
			setColumnProperty("Notes","inlineEdit",true);
			setColumnProperty("Notes","spellCheck",true);
			
			initialize()
		}
	}
	</script>

Run Sample

dragAndDrop (boolean)

Enables/disables the re-arranging of columns using drag and drop.

editControl (object)

Reference to the DbNetEdit control in the edit dialog

editDialog (object)

Reference to the Edit Dialog object

editDialogHeight (number)

Fixes the height of the edit dialog when there are a lot of editable columns. Fields will scroll inside dialog

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			editDialogHeight="200px"
			initialize()
		}
	}
	</script>

Run Sample

editLayoutColumns (number)

Defines the number of columns over which the generated Edit dialog layout is distributed (defaults to 1)

Run Sample

emptyOptionText (string)

Specifies the text for the empty option in a drop down list (defaults to blank)

exportFileName (string)

Specifies the download file name for the exported grid

filterColumnMode (string)

Controls the mode in which filter columns operate. Possible values are:

Simple (selected value is applied as a filter on its own and automatically clears any other column filters),
Combined (selected value is applied in combination with other selected filter column values)
Composite (similar to Combined but with filter options limited to reflect any currently applied column filters)

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			filterColumnMode="Composite"
			initialize()
		}
	}
	</script>

Run Sample

fixedFilterSql (string)

Specifies a filter to applied to the selected grid rows.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fixedFilterSql="Country = 'UK'"
			initialize()
		}
	}
	</script>

 

fixedFilterParams (object)

Used in combination with the fixedFilterSql parameter to supply parameter values.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fixedFilterSql="Country = @country"
			fixedFilterParams = {country : "USA"}
			initialize()
		}
	}
	</script>

Run Sample

 

fixedOrderBy (string)

Fixes the order in which rows are displayed in the grid. Column header sorting is nested inside the fixedOrderBy property

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fixedOrderBy = "country, city"
			initialize()
		}
	}
	</script>

Run Sample

frozenColumns (number)

Freeze the first 'n' columns in the grid against which the remaining columns can be scrolled horizontally. Should be used in conjunction with the Width property which will fix the width of the area in which he remaining columns scroll.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fromPart = "customers"
			frozenColumns = 2
			width = "400px"
			initialize()
		}
	}
	</script>

Run Sample

 

groupBy (boolean)

Groups the results by all the non-aggregated columns

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fromPart = "Orders join [Order Details] on Orders.OrderID = [Order Details].OrderID"

			setColumnExpressions(
				"[Order Details].ProductID",
				"Orders.OrderDate as FirstOrder",
				"Orders.OrderDate as LastOrder",
				"([Order Details].UnitPrice * [Order Details].Quantity) as TotalValue",
				"([Order Details].UnitPrice * [Order Details].Quantity) as AvgValue"
				)

			groupBy = true
			initialize()
		}
	}
	</script>

 

having (string)

Specifies the SQL having clause that can be used along with the groupBy property

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			fromPart = "Orders join [Order Details] on Orders.OrderID = [Order Details].OrderID"

			setColumnExpressions(
				"[Order Details].ProductID",
				"Orders.OrderDate as FirstOrder",
				"Orders.OrderDate as LastOrder",
				"([Order Details].UnitPrice * [Order Details].Quantity) as TotalValue",
				"([Order Details].UnitPrice * [Order Details].Quantity) as AvgValue"
				)

			groupBy = true
			having = "sum([Order Details].UnitPrice * [Order Details].Quantity) > 10000"
			initialize()
		}
	}
	</script>

Run Sample

height (number)

Fixes the width of the grid

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			height = 300
			width = 600
			initialize()
		}
	}
	</script>

Run Sample

 

mailMergeDocuments (object)

Allows pre-defined Word merge documents to be specified and then selected from the toolbar when performing a MailMerge

Run Sample

messageTimeout (number)

The number of seconds a message is displayed before being cleared

multiRowSelect (boolean)

Adds the ability to select multiple rows.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			multiRowSelect = true
			multiRowSelectLocation = "left"
			initialize()
		}
	}
	</script>

Run Sample

 

multiRowSelectLocation (string)

Specifies the location of the multiRowSelect checkboxes. Value can be left or right

Run Sample

multiValueLookupSelectStyle (string)

Controls the style of selection for lookups where multiple values can be selected. These include Search Lookups, Bulk Insert lookup and where the editControlType is MultiValueTextBoxLookup. By default multiple values are selected by holding ctrl or shift when clicking on a value. By assigning "checkbox" to the property the selection is changed to display a checkbox so multiple values can be selected with a more intuative standard mouse click.

Run Sample

noSort (boolean)

Suppresses any sorting of the data in the grid.

optimizeExportForLargeDataSet (boolean)

Optimizes the grid export for very large numbers of rows (10,000+). Setting the property to true will minimise the amount of server memory used in the export process. Some grid formatting options such as sub-totalling  and group headers are suppressed when this property is set to true.

optimizeForLargeDataSet (boolean)

Optimizes the data selection algorithm for large datasets of several thousand records or more.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			optimizeForLargeDataset = true
			initialize()
		}
	}
	</script>

 

orderBy (string)

Set the initial order by which rows are returned. Clicking on a column header will override this order. You can fix the top level of ordering by using the fixedOrderBy property.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			orderBy = "orderdate desc"
			initialize()
		}
	}
	</script>

Run Sample

outputCurrentPage (boolean)

When set to true will restrict the Save function to the current page only.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			outputCurrentPage = true
			initialize()
		}
	}
	</script>

Run Sample

outputPageSize (number)

When set to a value greater than 0 will split the output into pages each with the size specified by the property.

Run Sample

pageSize (number)

Specifies the number of rows to be displayed in each page of the grid

Run Sample

parentFilterSql (string)

Specifies a filter to applied to a child grid by the parent control. Set automatically but can be overridden or supplemented in the onParentFilterAssigned event.

parentFilterParams (object)

Used in combination with the parentFilterSql parameter to supply parameter values.

procedureName (string)

The name of the stored procedure used as a data source for the grid

procedureParameters (object)

The required parameters of the stored procedure used as a data source for the grid

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			procedureName="[Sales By Year]"
			procedureParameters = {BeginningDate : "1-Mar-1995", EndingDate : "31-Mar-1995"}
			initialize()
		}
	}
	</script>

Run Sample

profileUser (string)

Identifies the user against which User Profiles will be saved. If the web application is authenticated then the property will default to the  authenticated user. If an application is using a custom authentication method then the property can be set in a manner similar to the following code.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			profileUser = "<%=Session["userid"]%>"
			// Line above assumes the authenticated user id is held in a server-side session variable
			initialize()
		}
	}
	</script>

searchDialog (object)

Reference to the Standard Search Dialog object

searchDialogHeight (number)

Fixes the height of the search dialog when there are a lot of searchable columns. Fields will scroll inside dialog

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			searchDialogHeight="200px"
			initialize()
		}
	}
	</script>

Run Sample

searchDialogMode (string)

Specifies the default search mode. Can be set to either Simple, Standard or Advanced

Run Sample

searchFilter (array of objects)

Search filter generated by the Standard and Advanced search dialogs. Property contains an array of objects each with the following properties

sql

array of strings

The search sql statements

params

object

Parameter values for the placeholders in the sql property

join

string

The operator used to join the sql statements (and / or )

Run Sample

searchFilterSql (string)

Specifies an initial filter to applied to the selected grid rows. The filter is overridden by the search dialog.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			searchFilterSql="Country = 'UK'"
			initialize()
		}
	}
	</script>

 

searchFilterParams (object)

Used in combination with the searchFilterSql proeprty to supply parameter values.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			searchFilterSql="Country = @country"
			searchFilterParams = {country : "USA"}
			initialize()
		}
	}
	</script>

Run Sample

searchFilterText (string)

Displayable descriptive text version of the search dialog criteria .

Run Sample

searchLayoutColumns (number)

Specifies the number of columns over which the search criteria are distributed

Run Sample

searchValuesOnly (boolean)

Specifies if only the search values are selectable in the search dialog/panel

Run Sample

searchPanelId (string)

The searchPanelId property allows you to specify the Id or Class Name of an HTML element to be used as the container of the search control (instead of the Search Dialog)

Run Sample

selectModifier (string)

Applies an SQL select modifier such as top or distinct to the query used to populate the grid

Run Sample

simpleSearch (boolean)

Enables/disables the simple search dialog

simpleSearchDialog (object)

Reference to the Simple Search Dialog object

spellCheck (boolean)

Indicates that a spell checking should be enabled for all the text columns longer that 29 characters. To enable spell checking for particular columns use the column spellCheck property. The DbNetSpell object can be configure via the dbNetSpell property.

Run Sample

standardSearch (boolean)

Enables/disables the standard search dialog

table (object)

A DOM reference to the grid table object

totalRows (number)

The total number of rows selected

updateMode (string)

Controls the mode in which record updates are entered and applied. When set to Page clicking the Update button will allow an entire page to be edited in a single transaction. The default value of Row means only the currently selected row is edited (via the Edit Dialog)

Run Sample

uploadDataFolder (string)

Specifies the folder into which the source data file for the data upload is saved.

Run Sample

uploadExtFilter (string)

Specifies the allowed file extensions for the data upload data source.

uploadDataTable (string)

Specifies the name of the table or sheet in the data upload data source.

userLanguage (string)

Controls the culture and translation for the control by overriding the default of browser language. In the client-side implementation this property must be specified as an argument passed to the dbnetsuite.js.ashx handler

<script language="JavaScript" src="dbnetsuite.js.ashx?userlanguage=de-DE"></script>

viewDialogHeight (string)

Specifies the height of the View Dialog.

viewDialogWidth (string)

Specifies the width of the View Dialog.

viewLayoutColumns (int)

Specifies the number of columns used to display data in the View Dialog.

Run Sample

viewTemplatePath (string)

Specifies the virtual path to an HTML file that can be used to customise the layout of the View dialog. Elements in the template that are give an attribute of columnName with be automatically configured a fields to display data from columns with a corresponding name when a record is selected.

Run Sample

 

width (number)

Fixes the width of the grid

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			height = 300
			width = 600
			initialize()
		}
	}
	</script>

Run Sample

Toolbar Properties

The following properties control the buttons and information displayed in the toolbar

Run Sample

chart (boolean)

Controls the appearance of the chart configuration dialog button in the toolbar

Run Sample

columnPicker (boolean)

Controls the appearance of the Column Selection dialog button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			columnPicker = true
			initialize()
		}
	}
	</script>

Run Sample

config (boolean)

Adds access to the run-time configuration dialog to the toolbar

Run Sample

copy (boolean)

Controls the appearance of the Copy To Clipboard button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			copy = false
			initialize()
		}
	}
	</script>

 

deleteRow (boolean)

Controls the appearance of the Delete record button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			deleteRow = true
			initialize()
		}
	}
	</script>

 

insertRow (boolean)

Controls the appearance of the Insert new record button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			insertRow = false
			initialize()
		}
	}
	</script>

 

mailMerge (boolean)

Adds the ability to perform Word mail-merges with the selected grid data. Only available in IE and where Word is installed on the client.

Run Sample

 

navigation (boolean)

Controls the appearance of the Navigation buttons in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			navigation = false
			initialize()
		}
	}
	</script>

 

outputPageSelect (boolean)

When set to true will create a checkbox in the toolbar that allows the user to toggle the outputCurrentPage property

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			outputPageSelect = true
			initialize()
		}
	}
	</script>

 

pageInfo (boolean)

Controls the appearance of the Page X of Y  information in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			pageInfo = false
			initialize()
		}
	}
	</script>

 

print (boolean)

Controls the appearance of the Print grid button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			pageInfo = false
			initialize()
		}
	}
	</script>

 

quickSearch (boolean)

Adds a search box to the toolbar which can be used to search against all the columns that have been flagged as eligible for simpleSearch. By default this will be all the selected string columns.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			quickSearch = false
			initialize()
		}
	}
	</script>

Run Sample

rowInfo (boolean)

Controls the appearance of the number of selected rows ( X Rows ) information in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			rowInfo = false
			initialize()
		}
	}
	</script>

 

save (boolean)

Controls the appearance of the grid Export button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			save = false
			initialize()
		}
	}
	</script>

 

saveOptions (string)

Comma separated list of export formats that are available when click on the save button. The sequence and number options can be controlled by assigning a comma separated list from the following options: HTML,Word,Excel,XML,CSV,PDF

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			saveOptions = "PDF,HTML"
			initialize()
		}
	}
	</script>

 

search (boolean)

Controls the appearance of the Search dialog button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			search = false
			initialize()
		}
	}
	</script>

 

sort (boolean)

Enables/disables access to the the Column Sort Selection dialog from the toolbar

Run Sample

toolbarButtonStyle (string)

Sets the the style of the toolbar button. Choose from Image, Text or ImageAndText

Run Sample

toolbarLocation (string)

Sets the location/visibility of the toolbar. Values are Top (toolbar displayed above grid), Bottom (toolbar displayed below grid) or Hidden (toolbar is hidden)

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			toolbarLocation="Hidden"
			initialize()
		}
	}
	</script>

 

updateRow (boolean)

Controls the Update record button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			updateRow = false
			initialize()
		}
	}
	</script>

 

upload (boolean)

Adds the data upload button to the toolbar

Run Sample

userProfile (boolean)

Controls the User Profile  button in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			userProfile = true
			initialize()
		}
	}
	</script>

 

Run Sample

userProfileSelect (boolean)

Controls the appearance of the User Profile selection list in the toolbar

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
		with (dbnetgrid1)
		{
			...
			userProfileSelect = true
			initialize()
		}
	}
	</script>

 

Run Sample

view (boolean)

Controls the View Dialog button in the toolbar

Run Sample

viewPrint (boolean)

Controls the appearance of the Print button in the View Dialog