Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Cell clipping in XamDatagrid
posted

Hi,

I have the requirement to display some Icon in the cell that spans over other cells - see picture

(removed)

It worked well before columns freezing was turned on for two first columns on the grid via the following code

var field = new UnboundField()

{

       Name = column.FieldName,

       Label = column.Title,

       Width = new FieldLength(1, FieldLengthUnitType.Auto)

};

{

       field.Settings.AllowFixing = AllowFieldFixing.Near;

       field.FixedLocation = FixedFieldLocation.FixedToNearEdge;

}

 

 

 After this that Icon with 'A' is being clipped - see below

 (removed)

I've tried to fix it by overriding styles but it didn't solve the issue.

<Style TargetType="{x:Type igDP:CellValuePresenter}">

       <Setter Property="Clip" Value="{x:Null}"/>

</Style>

<Style TargetType="{x:Type igDP: DataRecordCellArea}">

       <Setter Property="Clip" Value="{x:Null}"/>

</Style>

 

Could you please advise how to fix the issue so that Icon won't be clipped with "freeze columns' turned on?