Hi
I have a requirement to load 10000 checkbox controls in the pivotcells of the xamPivotGrid.
The xamPivotGrid may have 500 rows and 20 columns of data in the collection.
Some of the checkboxes would be checked and some may not be checked.
I have implemented the same in my application but there is a big performance issue while loading the data for the first time.
Can someone please show me how to load the data at a very fast rate with a sample application.
Also please inform me what is the best method of implementation for developing this scenario with the XamPivotGrid control.
I am on a tight deadline issue, please reply in urgent. FYI,I am using Infragistics WPF v12.2 dlls
Thanks in advance, Rakesh
Hi,
Someone please reply.
Hello Rakesh,
Thank you for your post. I have been looking into the question that you are having and I have created a sample application that shows how you can show checkboxes in the cells of the XamPivotGrid, using a style for the PivotCellControl and a ContentTempalte, with a CheckBox in it. I have created the data based on your description (it contains 500 rows and 20 columns) and the XamPivotGrid is not taking much time to load (around a second or two, which is expected). The XamPivotGrid is using virtualization on its PivotCellControls and which means that only the cells that are in view will be rendered, which provide good performance.
Please let me know if the approach that I have suggested in the attached sample is suitable for your scenario and if not, would you please provide me with your current implementation, in order to be able to research what might be causing the issue with the initial loading of the control.
Looking forward to hearing from you.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Thank you for your email. I have looked into your other thread and it seems that Maria already reply to your question. Please let me know if you need any further assistance on the matter.
Hello Krasimir,
I have one more issue left which i have requested in the forum link http://es.infragistics.com/community/forums/t/90660.aspx
Can you please tell me how the repetitive columns/rows can be displayed in the XamPivotGrid with a small sample.
My collection contains repetitive columns or rows objects and need to be shown in that way only.
But XamPivotGrid has some internal checks and doesn't repeat the column or rows with the same name.
Thanks, Rakesh
Thank you for your reply. I am very glad that you have managed to solve your issue. Please let me know if you need any further assistance on the matter.
Thanks for your support, issue resolved when I configured the flat datasource in the codebehind.
I am so relieved....
Cheers... :)
Thanks man....
Thanks for your reply. I have checked your sample
For loading checkboxes in the XamPivotGrid, I am using the same technique as you have defined for content template
The difference coming out for me is that in our collection there is repetitive column values.(column name)
which actually in first place should be shown as separate columns in the XamPivotGrid but its not happening that way.
Also I have not created the flatsource object in the code behind but created it in the xaml.
As such I am not using Xmladatasource(will this create a problem for me?) but creating the hierarchicaldescriptors in the xaml.
Can you please modify your sample with above requirements or please inform me what to do.
Thanks in advance
Rakesh