The DevExpress ASP.NET Grid View (ASPxGridView) can address a wide range of business use-case scenarios, and offers complete control over the data source displayed within it – be it a static collection or a web service providing live data.
In this demo, the ASPxGridView displays dynamic data that is refreshed every 2 seconds. The grid control is bound to an ObjectDataSource control that provides randomly generated stock quotes (Quote objects). Once every 2 seconds, the grid control is updated via its Refresh client method to visualize changes (the Change property of the Quote objects). To display an appropriate image indicator next to a percent change value, a template is used for the Change column (see the DataItemTemplate property in the demo's ASPX markup file). To access a Quote object displayed within a grid row, the grid control's GetRow function is called (see the GetIconImageUrl, GetIconImageVisibility, and GetPercentageText methods in the code-behind file).