Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6246 | Aug 6,2003 08:42 AM UTC | Aug 13,2003 06:06 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
//make 1,4 a formula cell
this.grid[1,4].CellType = "FormulaCell";
//set the formula
this.grid[1,4].Text = "=SUM(A1:A3)";
So, in general, to programatically set a formula, you set the cell's style.Text property to be exactly what you would type into the cell. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.