回复 2楼iceman的帖子
- <c1datagrid:C1DataGrid x:Name="grid" AutoGenerateColumns="False" Style="{StaticResource C1DataGrid}" HeadersVisibility="All" FrozenColumnCount="2" Grid.Row="1">
- <c1datagrid:C1DataGrid.Columns>
- <!--<c1datagrid:DataGridTextColumn Header="操作" Binding="{Binding AKB020}" FilterMemberPath="AKB020" SortMemberPath="AKB020" />-->
- <c1datagrid:DataGridTextColumn Header="统筹区" Binding="{Binding AREA_NAME}" FilterMemberPath="AREA_NAME" SortMemberPath="AREA_NAME" />
- <c1datagrid:DataGridTextColumn Header="案件编号" Binding="{Binding CODE}" FilterMemberPath="CODE" SortMemberPath="CODE" />
- <c1datagrid:DataGridTextColumn Header="案情描述" Binding="{Binding DESCRIPTION}" FilterMemberPath="DESCRIPTION" SortMemberPath="DESCRIPTION" />
- <c1datagrid:DataGridTextColumn Header="立案批示意见" Binding="{Binding APPROVE_CONTENT}" FilterMemberPath="APPROVE_CONTENT" SortMemberPath="APPROVE_CONTENT" />
-
- </c1datagrid:C1DataGrid.Columns>
- <c1datagrid:C1DataGrid.RowDetailsTemplate>
- <DataTemplate>
- <Grid Height="30" HorizontalAlignment="Stretch" Width="Auto">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <!--<ColumnDefinition Width="120"/>
- <ColumnDefinition Width="120"/>-->
- </Grid.ColumnDefinitions>
- <Button Content="详情" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Margin="10,0,30,0" Width="80" Height="28" Cursor="Hand" Style="{StaticResource ButtonG2}" FontSize="12" Foreground="#FF262727" FontFamily="Microsoft YaHei"/>
- </Grid>
- </DataTemplate>
- </c1datagrid:C1DataGrid.RowDetailsTemplate>
- <c1datagrid:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
- <c1datagrid:C1RowIndexHeaderBehavior />
- </c1datagrid:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
- </c1datagrid:C1DataGrid>
复制代码 |