Hide properties of an registered BusinessObject data

Hello,

Is it possible to hide certain properties of the object registered in the report? Perhaps an attribute?

I've tried [Browsable(false)] without success.

Thanks for your help.

Jean

Comments

  • Hello!

    In the current version of FastReport.Core 2026.2.8: in 2026.2.8, the [Browsable(false)] attribute is now taken into account automatically when calling `report.RegisterData(list, ‘Items’, 2)`, so hidden properties are not included in the list of dictionary columns.

    If you are still using an older version where [Browsable(false)] is ignored, disable any unnecessary columns programmatically immediately after RegisterData:

    report.RegisterData(items, ‘Items’, 2);
    var ds = report.GetDataSource(‘Items’);
    ds.Columns.FindByName(‘SecretProp’).Enabled = false;
    // or ds.Columns.Remove(ds.Columns.FindByName(‘SecretProp’));
    
This discussion has been closed.