BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
this.gridDataBoundGrid1.Model.QueryCellFormattedText += new GridCellTextEventHandler(gridModel_QueryCellFormattedText); //the handler private void gridModel_QueryCellFormattedText(object sender, GridCellTextEventArgs e) { if(e.Style.CellValueType == typeof(int)) { e.Text = ((int)Style.CellValue).ToString("#,###"); e.Handled = true; } }
>this.gridDataBoundGrid1.Model.QueryCellFormattedText += new GridCellTextEventHandler(gridModel_QueryCellFormattedText); > >//the handler >private void gridModel_QueryCellFormattedText(object sender, GridCellTextEventArgs e) >{ > if(e.Style.CellValueType == typeof(int)) > { > e.Text = ((int)Style.CellValue).ToString("#,###"); > e.Handled = true; > } >} >