I have a couple of questions:
- What does the goIndicator option do?
- Why don't horizontal lines appear in the grid when I set its GridLinesStyle property?
CODE
With NextGrid1 do begin
Columns.Add(TNxTextColumn,'My Col1');
Columns.Last.Name := 'col1';
Columns.Add(TNxTextColumn,'My Col2');
Columns.Last.Name := 'col2';
AddRow(1);
CellsByName['col1',LastAddedRow] := 'test';
AddRow(1);
CellsByName['col1',LastAddedRow] := 'test2';
//What is it?
Options := Options - [goIndicator];
//Lines not displayed
GridLinesStyle := lsHorizontalOnly;
end;
Columns.Add(TNxTextColumn,'My Col1');
Columns.Last.Name := 'col1';
Columns.Add(TNxTextColumn,'My Col2');
Columns.Last.Name := 'col2';
AddRow(1);
CellsByName['col1',LastAddedRow] := 'test';
AddRow(1);
CellsByName['col1',LastAddedRow] := 'test2';
//What is it?
Options := Options - [goIndicator];
//Lines not displayed
GridLinesStyle := lsHorizontalOnly;
end;
Thank you.