datagrid

  • Thread starter Thread starter Page Up - XP
  • Start date Start date
P

Page Up - XP

Hello,

How can we format data of datagrid for always display 2 decimal ?

Regards.
 
You have to design your own tablestyle, then set the properties for the
textboxcolumn. The property you want to change is Format. Look at
DataGridTextBoxColumn class in the Help.
 
Not on CF. There is no reliable way to achieve this on CF platform other
then by adding a column to the existing table and filling its contents
manually using float.ToString()
 
Dear Alex i have tried one of your sample example named GridDemo2, but i use
it in my project it is showing a cell size X in all cells of the column which
i have specified in

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")

plz help me
 
Back
Top