Fixedfont height and sizeTWebDBGrid can't be changed

grdList.FixedFont.Height := -15;
grdList.FixedFont.Size := 9;

When changing fixed font height and size of TWebDBGrid the following error appears.

rtl_1_0_1465.js:273 Uncaught TypeError: Cannot read properties of undefined (reading 'style')

It seems to be caused on FixedCols which is set to 0.

Is there a way to change the font size/heigth of the first row (column captions)?

I cannot reproduce this.

Using this code

  webdbgrid1.FixedCols := 0;
  webdbgrid1.Cells[1,0] := 'abc';
  webdbgrid1.Cells[2,0] := 'def';
  webdbgrid1.Cells[3,0] := 'ghi';

  webdbgrid1.FixedFont.Name := 'Courier New';

show the fixed top row font used as Courier New.

If this issue persists, please isolate and provide a sample source project with which we can reproduce this here.

That did the trick. Thank you.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.