CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2011
    .NET 3.5

    Get selected checkboxes rows in a xamDataGrid

    I am using .Net 3.5.

    I have a xamDataGrid2 which is dynamically populated using a DataTable. The DataTable has a column called "Select" which is of bool type and value is 0 for all the rows.

    The thing I want is when the user check on the checkboxes of some rows and click the "Add" button, the selected rows will be passed to another xamDataGrid1.

                    <igDP:XamDataGrid x:Name="xamDataGrid2" Visibility="Hidden" BindToSampleData="False" Theme="Generic" BorderThickness="0,0,0,0" AutoFit="False" igThemes:ResourceWasher.IsExcludedFromWash="False" CellContainerGenerationMode="Recycle" Panel.ZIndex="0" ScrollingMode="Immediate" Margin="-2,160.84,13,115" >
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF858585" Offset="1" />
                                <GradientStop Color="#FFFFFFFF" Offset="0" />
                            <igDP:FieldSettings AllowRecordFiltering="True" SummaryDisplayArea="BottomFixed" SummaryUIType="MultiSelect" AllowSummaries="True" LabelTextAlignment="Left" />
                            <igDP:FieldLayoutSettings HighlightAlternateRecords="True" AllowAddNew="False" AllowDelete="False" AddNewRecordLocation="OnTopFixed" AutoGenerateFields="True" AllowFieldMoving="WithinLogicalRow" AllowRecordFixing="Top" FixedFieldUIType="Default" HeaderPrefixAreaDisplayMode="FieldChooserButton" AllowClipboardOperations="Copy" CopyFieldLabelsToClipboard="True" />
                                <igDP:Field Name="Select" Label="Select">
                                        <igDP:FieldSettings />
                                <igDP:Field Name="ItemID" Label="Item ID">
                                        <igDP:FieldSettings AllowEdit="False" />
                                <igDP:Field Name="ItemCode" Label="Item Code">
                                        <igDP:FieldSettings AllowEdit="False" />
    Last edited by tiestoycc; March 3rd, 2013 at 10:06 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.