











LOCATION: Home › Support › Samples › SmartGrid .NET
| Press Releases |
|---|
|
November 10, 2008 |
|
October 27, 2008 Popular component suite with new data input capabilities |
| More |
| Latest Versions |
|
December 19, 2008 |
|
December 10, 2008 |
|
December 05, 2008 |
|
December 04, 2008 |
| More |
In this section you can preview code samples to demonstrate the capabilities of the Resco SmartGrid control.
Note:Some samples may require Windows Mobile 5.0 SDK installed to be run. You can download Windows Mobile 5.0 SDK free of charge from Microsoft webpage here.
This sample demonstrates how SmartGrid can be designed to sort the rows upon HeaderClick. Note that SmartGrid does not sort the rows really, but uses the capability of its datasources or the SQL server to sort the data instead. There are three forms in this sample, each demonstrating a different scenario.
This sample demonstrates how SmartGrid .NET control can be designed to load data
from a database and edit them using SmartGrid's bult-in editing capabilities on
Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.
This sample is a simple Sudoku application for Smartphone platform.
Demonstrates the editing capabilities of SmartGrid .NET control on Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.
This sample demonstrates how to implement a button in one of SmartGrid's cells.
This sample demonstrates these features of SmartGrid:
This sample demonstrates how to divide cells in a column in SmartGrid.
This sample demonstrates how SmartGrid can be designed to display a clickable icon in a cell.
This sample demonstrates how SmartGrid can be designed in such a way that multiple columns can be selected by clicking on their header.
This sample shows how SmartGrid can be used to select or deselect multiple rows by clicking them.
This sample shows how to edit data in a column using a System.Windows.Forms.NumericUpDown control.
This sample shows how to inherit from Resco.Controls.SmartGrid.CustomCell class and use your own cell in SmartGrid. In this particular sample a new MyCell class is created. MyClass underlines the text inside it so that it looks like a link. If the cell is clicked, the text changes color from blue to yellow indicating, that the cell was clicked.
This sample demonstrates the capabilities to load data from Northwind Access database. It uses three method of data loading:
Download C# Sample | Download VB Sample
This sample demonstrates how to use the CustomCell event to change the cell properties to custom values. The sample loads product sales data from the DataSet file called Sales.xml, which is attached to the project. The DataSet contains three columns; product name (ProductName), yearly sales (Sales), and sales change in % (Change). The sample handles the CustomCell method and does the following:
Download C# Sample | Download VB Sample
This sample loads customer data to the SmartGrid control. Then it uses the TextBox control to allow data edit of the selected cell.
Download C# Sample | Download VB Sample
This sample demonstrates how to implement checkboxes in SmartGrid using image column. There is also demonstration of default keyboard navigation and how to change the look of the row depending on the contents.