I want to show a recent record in that place where it shows the description. how do i do that?
If what you want to do is to display more than one cell of text as part of a group-by row, then this indeed is not currently possible with WebGrid. I've seen a few different attempts at making this work, and none of them functioned as desired.
I see that you have a support case open with a similar question. You can ask for this to be submitted as a feature request, so that we may implement this ability in a future version of the toolset.
Actually, we dont want to show grid in grid and multi level grid.
So, there is no way doing it?
You'll have to separate your data into a number of sections matching how deep you want your hierarchy to go. The first section will have all the data that will appear at the root of the grid, the second all the data at the next level (for all parent rows, not just "the first parent row,"), the third group for the data at the third level, and so on.
Two good options for binding WebGrid to hierarchical data are to use either a DataSet (if doing things in code) or a WebHierarchicalDataSource (if setting things up in the designer). Here are articles to our online help documentation of NetAdvantage for .NET 2009 Volume 2 to get you started:
Binding WebGrid using the DataSource PropertyBinding WebGrid to a WebHierarchicalDataSource
can you give an example on that?
thanks vince...
Thanks for the screenshot.
WebGrid cannot currently show an entire row of data in the place of a group by row. You would likely want to consider setting up your data hierarchically to simulate this style of "grouping."