L
Laura Stern
Guest
I assume you want them to display in the grid. Or do you just want to sort by that field? How does the ultragrid know that there are calculated fields? You are giving only half of the picture. Or is that actually your question - that the grid doesn't know and you have no idea how to get this calculated value displayed? Though your question seems to be about sorting. Can't answer about sorting until I know the whole picture. Regarding displaying calculated field values, at a very high level, I think there are 2 ways - one is to actually store all the data in the temp-table, along with the calculated fields and bind the grid to the temp-table. The other (though I'm shaky on the details of this one) is to add fields to the grid at design time that are "unbound" (I may not be using the right Infragistics terminology). Then the grid has a mechanism for asking for the value from the code by firing events when it needs to display it.
Continue reading...
Continue reading...