Hi,
How to display busy cursor while binding 1 lakh records to xam datagrid
I am using usercontrol and backgroundworkprocess
in that user control I put xamdatagrid
for getting the one lakh records sql server takes 4-10 seconds
while binding data to xam datagrid it takes 15-20 seconds
in that time I want to display busycursors
but I am unable to displaying that.
I am displaying busy cursor only at the time of getting the data only.
but I am unable to display binding time.
How to display busy cursors with image or without image in middle of xamdatagrid
please help me....................
Hello Koteswara,
I found this post duplicate to this one:
http://www.infragistics.com/community/forums/t/84042.aspx
which is already discussed.
Just to load a xamDatagrid with 2 records and 18 columns is taking 10 seconds or more. Any suggestions to improve the load time ?
Please find my grid
<igdp:XamDataGrid Grid.Row="1" x:Name="XamGrid" AutoFit="True"
DataSource="{Binding ProductViewModels}"
DataContext="{Binding UpdateSourceTrigger=PropertyChanged}"
Visibility="{Binding IsVisible, Converter={StaticResource BoolToVisConverter}}">
<igdp:XamDataGrid.FieldLayoutSettings>
<igdp:FieldLayoutSettings AutoGenerateFields="False"
DataErrorDisplayMode="ErrorIcon"
HeaderPlacementInGroupBy="OnTopOnly"
HeaderPrefixAreaDisplayMode="FieldChooserButton"
DataRecordCellAreaStyle="{DynamicResource DarkDataRecordCellArea}"
AllowFieldMoving="WithinLogicalRow"
DataRecordSizingMode="SizedToContentAndIndividuallySizable"
SelectionTypeCell="Single"
SelectionTypeField="Single" />
<!--AutoFitMode="Always"-->
</igdp:XamDataGrid.FieldLayoutSettings>
<igdp:XamDataGrid.FieldSettings>
<igdp:FieldSettings AllowResize="True"
AllowGroupBy="True"
LabelClickAction="SortByMultipleFields"
LabelTextAlignment="Center"
LabelTextWrapping="WrapWithOverflow"
AllowRecordFiltering="True"
CellClickAction="EnterEditModeIfAllowed" />
</igdp:XamDataGrid.FieldSettings>
Hello Rajib,
I can suggest you see this blog:
http://www.infragistics.com/community/blogs/kiril_matev/archive/2010/10/26/optimizing-xamdatagrid-performance.aspx
where it is explained how you can optimize the performance of the XamDataGrid.