Tips / FAQ

Toolltips in the edit dialog

Can I add my own tooltips to the controls in the edit dialog

Show Answer

Passing information from another page

How can I set grid properties by passing information from another page

Show Answer

Dealing with large amounts of text

Can I reduce the amount of space taken by large text fields.

Show Answer

Changing the default text editor

Can I change the default text editor in the edit dialog to be HTML

Show Answer

Trapping a double click on the grid

How do I override the default ondblclick behavior which opens the edit dialog

Show Answer

Adding additional heading information

How can I add additonal heading information to the grid

Show Answer

Adding buttons to the toolbar

Can I add my own buttons to the toolbar.

Show Answer

Selecting/sorting by the day of the week

I am looking to sort by both day of the week, and purely by date.

Show Answer

Selecting multiple rows

Can I select multiple rows.

Show Answer

Changing the grid style

Can I change the grid style without having to set it for each column.

Show Answer

Script Error Notification

I'm not getting any notification of scripting errors on my page

Show Answer

Referencing grid columns

Do I have easy access to values in other cells of the grid during a transform

That is,when I set a transform can I evaluate the value of another cell in the grid and then set the value of the current cell.

Show Answer

Initialising the value of a date/time in the edit dialog

How can I initialise the value of a date and time field in the edit dialog

Show Answer

3rd party HTML editor

Can I use a 3rd part HTML editor instead of your own.

Show Answer

Currency formatting

How can I format a display column in the format $99,999,999.99

Show Answer

Scrolling the grid but not the toolbar

Is it possible to scroll the grid but to keep the toolbar in a fixed position.

Show Answer

Adding noWrap to grid columns

How can I keep the height of my grid rows constant by preventing the data in the cells from wrapping.

Show Answer

Performing server-side processing in response to an edit

I want to send an email whenever a record gets changed, how can I do this ?

Show Answer

Controlling the number of records selected

I have a very large view of nearly a million rows. I want to be able to allow my users to select from the data source but prevent them from simply selecting all the records.

Show Answer

Changing the default search dialog match option

The Search dialog has 2 options "Match all of the search criteria" and "Match at least one of the search criteria". By default it shows "Match all of the search criteria", how do I make the second option to be the default value.

Show Answer

Setting a column style based on a value in an adjacent column

The Part Number column needs to be formatted based on the Short Column. If the Short Column is 1, make the background red, if it is 0 leave the default, and if it is 2, make it yellow.

Can I do this ?

Show Answer

Inserting a record based on an existing record

How can I insert a row based on an existing row.

Show Answer

Querying within the current results set

Can I apply a query against the currently selected rows rather than the whole table or view

Show Answer

Setting the alignment of a nested grid

My nested grid ia appearing right-aligned within the master grid. How can I change this to left alignment?

Show Answer

Hiding '+' image on a nested grid where the child contains no rows

How do I hide the '+' image on a nested grid where the corresponding child does not contain any rows?

Show Answer

Adding line numbering to the grid

Can I add line numbering to the grid ?

Show Answer

Applying a password style to an input box in an edit dialog

How can I make an input box in the edit dialog into a password control where entered characters appear as '*'?

Show Answer

Displaying a time in 12 hour format

How can I display a time in 12 hour format ?

Show Answer

Changing the table borders and alternating row colour style

I want to be able to alternate the grid row colours every 2 rows and show only vertical lines, can I do this.

Show Answer

Drag and Drop within a frame

If my grid is inside a <FRAME> or <IFRAME> then the "Drag and Drop" feature does not work.

Show Answer

Grid Navigation Using Arrow Keys

Can I use the arrow keys to move around the grid?

Show Answer

Printing a single row

I would like to be able to print a single grid row

Show Answer

Column headings on each page when printing

When I print the grid can I control the number of rows on each page and print the column headings at the top of each page.

Show Answer

Using SQL Server "User Defined Functions"

I notice that in one of your web site examples you use "User Defined Functions" to present composite data in grid cells using the following selectPart

selectPart = ["title_id", "pubdate", "title", "dbo.titleRoyaltyandQty(title_id)"]

Is the source code for these functions available

Show Answer

ColdFusion

Can I integrate the grid with ColdFusion?

Show Answer

Multiple nested grids on the same level

Can I have more than one nested grid on the same level.

Show Answer

Collapsing nested grids programatically

I have a nested grid that I am using that needs to collapse any expanded rows when a different row is expanded. Can this be done?

Show Answer

Selecting Multiple Rows with Control & Shift Click

Can I select multiple rows within DbNetGrid using the standard Windows Control & Shift select behaviour?

Show Answer

Removing the headings

Can I suppress the heading row ?

Show Answer

Expanding child grids programatically

Can I expand all the child grids programatically.

Show Answer

Using 'WITH ROLLUP' to create totals and sub-totals

I am running SQL Server, can I use the "WITH ROLLUP" option to create totals and sub-totals.

Show Answer

Customising the Save/Export options

How can you drop Word and XML from the grid save options

Show Answer