Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Tabbing in infragistics grig
posted

I have a grid with 6 coloumns.One of them have masking in the cell.On tab out  after entering the data in the cells the cursor looses its focus from the grid.

I am also using this method for the calculating the total amount for the grid.

 

 

 

 

 

 

protected

 

 

void grvProperties_UpdateCell(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs

e)

{

 

 

double

total = 0;

 

 

foreach (UltraGridRow row in

grvProperties.Rows)

{

 

 

if (!string.IsNullOrEmpty(Convert.ToString(row.Cells.FromKey("Amount"

).Value)))

{

row.Cells.FromKey(

 

"Amount").Style.HorizontalAlign = HorizontalAlign

.Right;

total = total +

 

Convert.ToDouble(row.Cells.FromKey("Amount"

).Value);

}

}

txtDisplayTotalClaimAmount.Text =

 

String.Format("{0:C}", Convert

.ToDecimal(total));

Help me out if you have any answer for this.

Thanks!!