If I change TableView Style just to hide header / footer then there are thick black lines between items instead of light gray lines - same happens when hiding header / footer by code.
Was unable to find a setting in the style to change / reset.
Any idea ?
Can attach screenshots for explanation if needed.
Regards
Michael Jung
Please attach screenshots or send us a sample that demonstrates this.
Kind Regards,
Pieter
Sorry, for late answer, too busy.
Drop TMSFMXTableView on a form, hide Header/Footer in StyleEditor
if AdaptToStyle = True then I get these black lines
Michael
Hi,
When setting AdaptToStyle, the default style is applied. We will investigate here what exaclty is going wrong when updating the style when a custom style is applied, but as a temporary workaround you could hide the Header and Footer in code in the OnApplyStyleLookup event, without assigning a style to the TTMSFMXTableView:
procedure TForm1.TMSFMXTableView1ApplyStyleLookup(Sender: TObject);
begin
TMSFMXTableView1.GetHeaderRectangle.Visible := False;
TMSFMXTableView1.GetFooterRectangle.Visible := False;
end;
Kind Regards,
Pieter