hi, am a bit new to Dapfor .Net Grid. Am trying to format my cell value properly but don’t seem to work it out using the below code. Pardon me if the mistakes are obvious grid.PaintCell +=== delegate(object sender, PaintCellEventArgs e) { if(e.Cell.Column != == null && e.Cell.Column.Id == "some id") { e.Text = "a new text to be displayed in cell"; } };
hey! Spotted some errors with your code. But I’ve modified it. Hope it helps grid.PaintCell += delegate(object sender, PaintCellEventArgs e) { if(e.Cell.Column != null && e.Cell.Column.Id == "some id") { e.Text = "a new text to be displayed in cell"; } };