QueryWindow: fix underscore bug
This commit is contained in:
@ -44,7 +44,7 @@ namespace Elwig.Windows {
|
|||||||
for (int i = 0; i < header.Count; i++) {
|
for (int i = 0; i < header.Count; i++) {
|
||||||
var h = header[i];
|
var h = header[i];
|
||||||
DataList.Columns.Add(new DataGridTextColumn {
|
DataList.Columns.Add(new DataGridTextColumn {
|
||||||
Header = h.ColumnName,
|
Header = h.ColumnName.Replace("_", "__"),
|
||||||
Binding = new Binding($"[{i}]"),
|
Binding = new Binding($"[{i}]"),
|
||||||
CellStyle = (h.DataTypeName == "INTEGER" || h.DataTypeName == "REAL") ? styleRight : null,
|
CellStyle = (h.DataTypeName == "INTEGER" || h.DataTypeName == "REAL") ? styleRight : null,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user