|
 | What's New |
 | Overview |
 | Features |
 | Reference Book |
 | Licensing |
 | Support |
|  | Contacts |
|  | FAQs |
|  | Feature Request |
 | Populating with Data |
 | Columns |
 | Rows |
 | Bottom Bar |
 | Layout and Behavior |
 | Exporting |
 | Skins |
|  | APNSoft |
|  | Windows XP |
|  | Windows Vista |
|  | Classic |
|  | Mac OS X |
|  | Media Player |
|  | Grayscale |
|
|
|
|
Version 2.5 04/02/2008
- Support for different data sources
The first step in programming a DataGrid is to set up its DataSource property. APNSoft DataGrid now supports different data sources: DataView, DataTable, DataSet, DataReader and any object that implements IEnumerable interface.
- Cell editing
APNSoft DataGrid is now enriched with new useful feature. It allows the user to modify a record right in the DataGrid area. When cell is clicked, it is transformed into Input Box populated with the cell value. The user can then edit this value. This sort of editing is also known as Inline editing. Please see this example.
- ASCX template (User Control) for a Column
APNSoft DataGrid displays each item in the column in accordance with a specified template. You can now use ASCX templates to organize and format column data by using your preferred programming language C# or VB.NET. The DataGrid component automatically identifies the type of applicable template (ASCX, XSL or HTML).
Please see this example.
- Custom Buttons on the Bottom Bar
Now you can extend Bottom Bar with custom buttons, which make DataGrid more relevant to users. Each custom button is defined by a single XML node in the XML template applied to Bottom Bar and one or two icon files, which are all stored in the Grid's Skin Folder. Please see this example.
- New client-side methods
- dg.Refresh(GridID); - refreshes the content of the DataGrid.
- dg.SetPage(GridID, PageNumber); - sets the grid page number to be shown.
- dg.ScrollToTop(GridID); - scrolls the contents of the grid to the top position.
- dg.ScrollToLeft(GridID); - scrolls the contents of the grid to the left position.
Version 2.0 01/20/2008
- Running Mode
APNSoft DataGrid now supports different running modes: CallBack and PostBack. Running mode controls how DataGrid handles sorting and paging. Use the Mode property to specify the running mode of the DataGrid. If the Mode property value is CallBack, paging and sorting are performed through AJAX-style HTTP callbacks. If the Mode property value is PostBack, each action initiates an ASP.NET postback and triggers the appropriate server-side event.
- ASP.NET AJAX compatibility
By default, any postback control inside an UpdatePanel control causes an asynchronous postback and refreshes the panel's content. As the DataGrid now supports PostBack running mode, component can be placed inside an UpdatePanel control. Server side events for paging and sorting must be specified as asynchronous triggers.
- Support for Context Menu
APNSoft DataGrid now provides you with full support for context menu. You can use context menu for rows or column headers. Please see this example.
- Export to HTML
APNSoft DataGrid can now export the data to HTML by using the new button with 'HTML' icon on the Bottom Bar. The property Exportable specifies the value indicating whether the column data will be exported to HTML or not.
This example demonstrates how to export DataGrid contents to HTML.
- Visible/invisible Bottom Bar
You can now make the Bottom Bar invisible by using the new property BottomBar.Visible.
- Updated Skins
Each Skin now includes new images and CSS classes required for Context Menu and export to HTML. New skins (ver. 1.3) can be downloaded from the Download Section. To see them in action open the section Live Demos -> Skins.
- New server-side methods
- ResetColumnWidths - sets all columns at an equal percent fraction of the DataGrid width.
- ResetPageNumber - sets a Page Number to its default value (1).
- ResetSelectedRow - removes the 'Selected' attribute from the row.
- ResetSortedColumn - removes the 'Sorted' attribute from the column.
- New client-side methods
- dg.Sort(GridID, ColumnIndex, Direction) - sorts the data in the DataGrid.
- Fixed bugs
- Fixed a bug that cause the "The HTTP verb POST used to access path '/' is not allowed." message.
- Fixed a bug that causes the "Invalid postback or callback argument." message.
- The behavior of scrollbars is fixed when the AutoResize property is defined.
- Position of the Edit Form is fixed if the DataGrid is placed in the DIV with absolute position.
- Several minor bugs fixed.
Version 1.5 10/03/2007
- Export to Excel
APNSoft DataGrid can now export the data to Microsoft Excel format by using the new button with 'Excel' icon on the Bottom Bar. The property Exportable specifies the value indicating whether the column data will be exported to Excel or not.
This example demonstrates how to export DataGrid contents to an Excel document.
- DataGrid size on the client side
New client-side methods enables you to set width and height on the client side. This example demonstrates how to set width and height on the client side and server side.
- Support for hovered rows
DataGrid includes two new properties. Please use the CssClassRowHovered property to specify the CSS class for hovered row. The CssClassRowSelectedHovered property is used to specify the CSS class for the row which is selected and hovered. These classes should be included in the CSS Style.
- HighlightSelectedRow property
This new property specifies the value indicating whether the selected row is highlighted.
- Double click for buttons in the Bottom Bar
The new EventType attribute specifies the type of action the user must take to perform the button's action. This attribute is a part of Button node in the template for the Bottom Bar. Examples:
- <Button Action="PageFirst" Title="First Page" EventType="Click" />
- <Button Action="PageFirst" Title="First Page" EventType="DoubleClick" />
Please click here to read about Bottom Bar template.
- Skins have been changed
The following CSS class names have been changed to make them easier to understand:
- GridRowsEvenTRs changed to GridRowEvenTR
- GridRowsTRs changed to GridRowSelectedTR
- GridBarButtonTDh changed to GridBarButtonHoveredTD
New skins (ver. 1.2) can be downloaded from the Download Section. To see them in action open the section Live Demos -> Skins.
- Fixed bug
Fixed bug with inserting a new record when multiple Grids are placed on the page.
- Lite Mode removed
The Lite Mode will not be supported anymore.
Version 1.3 06/01/2007
- Support for Line Numbers.
The new LineNumbers property is used to display the row numbers in the specific column.
- Different styles for alternating rows.
You can specify complete style information for alternating rows by modifying the GridRowEvenTR class in the skin's CSS Style. Alternating rows tell which cells are in each row, especially with wide tables that have many columns.
- Customizable position of the Edit Form.
To set the position the EditForm.PositionInsert and EditForm.PositionUpdate properties are used. The Edit Form can be positioned in the center of the screen, at the top left corner of the DataGrid, in the center of the DataGrid, below the selected row, etc.
- Customizable shadow displayed for Edit Form.
The EditForm.ShadowDepth, EditForm.ShadowColor and EditForm.ShadowOpacity properties are used to set the shadow.
- Support for SEO (Search Engine Optimization).
The SEOEnabled property specifies the value indicating whether the DataGrid renders an additional NOSCRIPT section with links which correspond to DataGrid
rows.
Version 1.0 04/05/2007
|
|
|