private void Grid_QueryCellInfo(object sender, Syncfusion.Windows.Controls.Grid.GridQueryCellInfoEventArgs e) { GridCommentStyleInfo gridStyleInfo = new GridCommentStyleInfo(); if (e.Style.RowIndex == 0 || e.Style.ColumnIndex == 0) { e.Style.CellType = "DataBoundTemplate"; e.Style.CellItemTemplateKey = "TextBlockTemplate1"; } if (e.Style.RowIndex == 0) { e.Style.CellValue = dataTable.Columns[e.Style.ColumnIndex]; } else { e.Style.CellValue = dataTable.Rows[e.Style.RowIndex][e.Style.ColumnIndex]; } //Set customization style to specific cell if (e.Cell.RowIndex == 1 && e.Cell.ColumnIndex == 2) { e.Style.DataValidationTooltip = e.Style.GridModel[1, 0].CellValue + ": \nPopulation rate in " + e.Style.ColumnIndex + " is " + e.Style.CellValue.ToString(); e.Style.ShowDataValidationTooltip = true; e.Style.DataValidationTooltipTemplateKey = "inputTextmessage1"; } }