iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am trying to write a value into a group header for a column that is not the first column in the group header. I can't get access to any column other than the first one. In the case below, I want to total mMarketValue which is the 8th column in the grid, but I can only overwrite the GroupRowInfoText for the first cell e.row.cells(0).GroupRowInfoText. Is this even possible? We're trying to put the group totals at the header row instead of the footer row. I'm close, if only I can set header values for each column.
colPosition = r.Cells.GetNamedItem("mMarketValue").Position
e.Row.Cells(colPosition).GroupRowInfoText = "testing: " & mkt
... but I can only overwrite the GroupRowInfoText for the first cell e.row.cells(0).GroupRowInfoText. Is this even possible?...
Group row header is a row with a single cell. You will not be able to access column n of group row header since it only contains a single cell.
... We're trying to put the group totals at the header row instead of the footer row...
If you wish to put the group total at group row header rather than in group footer row, you can specify the group row info format with the built-in aggregate function. Example:
GroupRowInfoFormat="[value] - Total Orders: [count] items. Average Freight: [avg(Freight)]"
For more detail, please check “DisplayAggregateinGroupHeader.aspx” sample file in WebGridSamples project.
If you have different scenario, could you please enclose a screenshot (as attachment) that shows the expected result (the location where the group total expected to appear)?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname