TMSFMXTableView Item DetailView Control overlap

Hi 


I have assigned TLayout control to Items and they function as Detail page.

My issue is that some TLayouts are smaller than the previous TLayout and when DeatilView is toggled from another item, the previous parts of TLayout control are visible. 

How can I remove TLayouts or control that are overlapped due to TMSFMXTableView DeatilView function.

Thanks,
Avanish


Hi, 


You can fix this by implementing the OnItemAfterReturnDetail event and force the DetailView to be invisible.
The visibility will automatically be controlled when navigating to the other detailview.

procedure TForm1.TMSFMXTableView1ItemAfterReturnDetail(Sender: TObject;
  AItem: TTMSFMXTableViewItem);
begin
  AItem.DetailView.Visible := False;
end;

Kind Regards, 
Scheldeman Pieter