|
 | What's New |
 | Overview |
 | Features |
 | Reference Book |
 | Licensing |
 | Support |
|  | Contacts |
|  | FAQs |
|  | Feature Request |
 | Populating with Data |
 | Columns (general) |
 | Columns (templates) |
 | Rows |
 | Bottom Bar |
 | Layout and Behavior |
 | Exporting |
 | Skins |
|  | APNSoft |
|  | Windows XP |
|  | Windows Vista |
|  | Classic |
|  | Mac OS X |
|  | Media Player |
|  | Grayscale |
|
|
|
|
Version 3.0 12/29/2008
- Custom AJAX calls
APNSoft DataGrid includes its own AJAX engine which now allows developer to launch custom asynchronous calls. In other words, DataGrid placed on ASP.NET page, adds AJAX functionality to this page. Such AJAX calls are processed by the DataGrid component, but can be launched independently of the current DataGrid task.
Please see this example.
- Fixed columns
DataGrid includes support for fixed (frozen) columns. Fixed columns remain visible on the left side of the grid and do not scroll when the grid scrolls. Please see this example.
- Row Filter
APNSoft DataGrid now includes the filter feature which allows users to quickly locate records they are looking for. Row filter can be applied from the server side or client side (JavaScript procedure, context menu, input box, etc.). Please see this example.
- CSS customization for rows
Use the new property CssClass to specify custom Cascading Style Sheet (CSS) class for the values displayed in the row. All custom classes must be included in the skin's CSS Style. Please see this example.
- Column order
The new property OrderIndex specifies the order index of a column in the collection of columns. In other words, the order index is a position of the column.
- New property ClientSideAfterCallBack
This property specifies the name of the client-side function to be called after CallBack request.
- New active blocks for the Context Menu template
Template for Context Menu can include special Active Blocks, instead of which data (RowID, ColumnName, CellValue, etc.) is inserted. Please click here for more details.
- File name for export data
The new property ExportFileName specifies the name of the file that is the data to export. Please see this example.
- Z-Index
The property zIndex has been added to the DataGrid, Edit Form and Context Menu.
- Processing of selected row
The new property Selected gets or sets a Boolean value that indicates whether the row is selected. The new method GetSelectedRow() returns the Selected Row.
- Right-click selection
The new property RightClickSelect specifies whether a row is selected when the user right-clicks on the row.
- Additional client-side methods
- dg.GetColumnName(GridID, ColumnIndex); - returns the name of the specified column.
- dg.GetCellValue(GridID, RowID, ColumnName); - returns the cell value.
- dg.GetEditFormElement(GridID, ElementID); - returns the Element in the Edit Form. By using this method, any element on the Edit Form can be validated on the client side before request to the server.
- dg.ClearPageCache(GridID); - deletes the cached data for the current Grid page.
- dg.DecodeValue(Value); - decodes the value received from the server-side event-handling method. Can be used for decoding the Parameter value received by the client-side function applied by the ClientSideAfterCallBack property.
- dg.DecodeCellValue(CellValue); - decodes the cell value received from the column template (from the $CellValueEncoded$ active block).
- Updated Skins
Each Skin now includes new images and CSS classes required for fixed columns, row filter, etc. New skins (ver. 1.9) can be downloaded from the Download Section. To see them in action open the section Live Demos -> Skins.
- Fixed bugs
- Fixed bugs with data exporting (HTML and Excel).
- Horizontal scrollbar position is corrected when the page is loaded after PostBack.
- Several minor bugs fixed.
- Small code improvements
Now DataGrid more carefully controls system resources and gives the best performance results.
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
|
|
|