Skip to content

Replies

0
[Infragistics] Elena
[Infragistics] Elena answered on Jan 21, 2013 11:41 AM

Hello aschoi,

 

I was just wondering did you have a chance to try Lyubo’s suggestion. If you still need any assistance on the matter, please do not hesitate to ask.

0
[Infragistics] Elena
[Infragistics] Elena answered on Dec 15, 2012 12:21 PM

Hello,

 

I have created a small sample on your behalf where I show you how you can calculate the Total on initialize and on CellChanged event.

 

   function WebDataGrid1_CellEditing_ExitedEditMode(sender, eventArgs) {

      

            currentrow = eventArgs.getCell().get_row()

 

            var item1 = currentrow.get_cellByColumnKey("Item1").get_value();

            var item2 = currentrow.get_cellByColumnKey("Item2").get_value();

            var item3 = currentrow.get_cellByColumnKey("Item3").get_value();

 

            currentAmount = item1 + item2 + item3;

            currentrow.get_cellByColumnKey("Total").set_value(currentAmount);

}

 

If you need any additional information on this matter please do not hesitate to ask.

0
[Infragistics] Elena
[Infragistics] Elena answered on Dec 7, 2012 10:32 AM

Please let me know if this works in your scnario as well.

0
[Infragistics] Elena
[Infragistics] Elena answered on Dec 7, 2012 8:43 AM

Hello,

 

I have been looking into your requirements and I could suggest you handle the Client side event Initialize of our WebDataGrid  and iterate through the rows in it:

for (rowindex = 0; rowindex <= rowlength – 1; rowindex++) {

                currentrow = rows.get_row(rowindex);

 

then you can go through all of the columns in this row and sum their values. For further reference I can suggest you take a look at the following forum threads:

http://es.infragistics.com/community/forums/p/42532/235205.aspx#235205

http://es.infragistics.com/community/forums/t/52184.aspx

 

If you need any additional assistance on this please do not hesitate to ask.

0
[Infragistics] Elena
[Infragistics] Elena answered on Jan 30, 2012 3:09 PM

Hello ,

 

Excuse me for the misunderstanding. The Infragistics reporting provides the functionality to use parameters in your report as shown in the following link from our documentation, so you can use it in order to hold the values that you want to display:

http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=How_to_Work_with_Parameters.html

 

About the way you can use the report’s section in order to show the information you can have a look at the following link:

 

http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=How_To_Using_the_Report_Sections.html

http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=Report_Designer_Designer_Surface_Structure.html .

 

 

Furthermore you can also check some custom approaches to use our reporting from our feature browser:

http://samples.infragistics.com/reporting/RunSamples.aspx?cn=designing-reports#/designing-reports/expressions

 

If this still doesn't suit your task, or if you need any further assistance on this matter, please do not hesitate to ask.

0
[Infragistics] Elena
[Infragistics] Elena answered on Jan 27, 2012 4:06 PM

Hello logic2006,

 

I have been looking into your questions and I can suggest you check our ExportProgress event which provides you the functionality to get the current processed elements:

http://help.infragistics.com/Help/NetAdvantage/Reporting/2011.2/CLR4.0/html/InfragisticsSL4.Controls.Reports.v11.2~Infragistics.Controls.Reports.XamReportViewer~ExportProgress_EV.html

 

Still looking into your post I am not quite sure that I get your requirements, so in case I have misunderstood you in any way, please do not hesitate to contact me, and would you please attach a screenshot that demonstrate the design you are trying to achieve.

 

Thanks in advance. 

0
[Infragistics] Elena
[Infragistics] Elena answered on Nov 17, 2011 2:54 PM

Hello Andy99,

 

For some reason I get an error message when I try to run the sample. However I have a look at your code and I notice that you have set the cursor for the CellControl. After some investigation I noticed that the XamGrid handles differently this scenario and for the CellControl, so I can suggest you set the cursor directly on the Cursor property of the window:

 

this.Cursor = Cursors.Hand;

 

Please let me know if this still doesn’t suit your scenario.