DevExpress ASP.NET MVC Grid View 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 model providing live data.
In this demo, the grid displays dynamic data that is refreshed every 2 seconds. The grid is bound to a model that provides randomly generated stock quotes (Quote objects). Once every 2 seconds, the grid is updated via its Refresh client method to visualize changes (the Change property of the Quote objects). The SetDataItemTemplateContent method is handled to display an appropriate image indicator next to a percent change value in the Change column.
Local Copy of this Demo To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer. |
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos |