Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Is there an easy way to add column totals to the bottom of a grid?
>>
>>Thanks,
>>
>>Brian.
>
>No easy way. For ease, I suggest you use TextBox objects outside of the grid itself to show the totals. You will have to write some code to get those totals.
>
>If you want to have each TextBox underneath the corresponding column, it will be more complicated because the user can resize columns, and scroll horizontally.
OR simulate something it (totals to the bottom of a grid).
Create a readwright cursor (c2) with one record and the same fields as the table in the grid. Create another grid (grd2)(without headers) and put it at the bottom of the original grid. With some code update the values of the c2 cursor.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement