How do you make DataPresenterCheckBoxColumn readonly?

1 reply. Last post: January 21, 2011 6:37 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

In the following example:

<Intersoft:GridPresenter 
                  Margin="0,0,0,0"
                  Grid.Row="1"            
                              AutoGenerateColumn="No"
                              SelectionMode="Single"
                                ItemsSource="{Binding MyActionItems}"
                                 SelectedItem="{Binding SelectedMyActionItem, Mode=TwoWay}" 
                              StatusReadyText="Double-click Project to go to Project Maintenance View"
                              AllowEdit="No"
                               DisplayRowHeaders="No"
                                >
                <Intersoft:GridPresenter.Columns>
                    <Intersoft:DataPresenterTextColumn DataMemberField="ProjectName" />
                    <Intersoft:DataPresenterCheckBoxColumn IsReadOnly="True" Editable="False"  Caption="Constraints Missing" DataMemberField="ConstraintsMissing" />
                    <Intersoft:DataPresenterCheckBoxColumn IsReadOnly="True" Editable="False" Caption="Deliverables Missing" DataMemberField="DeliverablesMissing" />
                    <Intersoft:DataPresenterCheckBoxColumn IsReadOnly="True" Editable="False" Caption="No Project Work Estimates" DataMemberField="NoWorkEstimates" />
                    <Intersoft:DataPresenterCheckBoxColumn IsReadOnly="True" Editable="False" Caption="No Time Entered"  DataMemberField="NoTimeEntered" />
                    <Intersoft:DataPresenterCheckBoxColumn IsReadOnly="True" Editable="False" Caption="No Timesheets Last Week" DataMemberField="TimeSheetsMissing" />
                    
                </Intersoft:GridPresenter.Columns>
            </Intersoft:GridPresenter>

All the DataPresenterCheckBoxColumns can checked and unchecked, even though i have IsReadonly set to true and Editable set to false. How can I make a readonly checkbox field?
All times are GMT -5. The time now is 11:00 PM.
Previous Next