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
205
CHeck Box Align in XamGrid -- standard issue
posted

The normal common problem -- the check box in the header with filtration doesn't align with the grid data checkbox... 

The data comes from a datasource set to a bindinglist of a list of class with many bool properties. 

I'm thinking if I can get the  header and data to left align the check boxes would line up?.. I tried this example but it then says it can't do it with a simple datasource set?... What is the magic to get such simple functionality working in WPF xamgrid? I am doing no custom addition of checkboxes just letting the default happen which is otherwise perfect.  like "<igDP:Field Name="theDataColumn" Label="A Data Column" />

<igDP:FieldSettings.FilterCellEditorStyle>
<Style TargetType="{x:Type igEditors:XamCheckEditor}">
<Setter Property="Margin" Value="18,0,0,0"/>
</Style>
</igDP:FieldSettings.FilterCellEditorStyle>

This is a very obvious problem with your product that you guys should have cared enough to resolve from seeing it in testing. 

  • 138253
    Offline posted

    Hello Paul,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Paul,

     

    Thank you for your post. I have been looking into it and I can say that this behavior is expected because all the filter cells have the same layout and they have space for operands and operators, but since in the Boolean Fields there are no operands the checkbox in the filter doesn’t align with the checkboxes in the data cells, so I can suggest you use the approach you shared. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.