Posted 27 September 2017, 9:07 pm EST
Hello Pragati Kaushik,
Great sample,very useful !!
but i’ve a small problem.
it doesn’t take my filter and i don’t know why
[csharp]
flex.Cols[“ETAT”].Filter = null;
flex.Cols[“SOMCONCENTRE”].Filter = null;
if (rbConcentre.Checked == true)
{
var f = new C1.Win.C1FlexGrid.ColumnFilter();
var c1 = f.ConditionFilter.Condition1;
c1.Parameter = 0;
c1.Operator = C1.Win.C1FlexGrid.ConditionOperator.NotEquals;
flex.Cols["SOMCONCENTRE"].Filter = f;
}
if (rbHorsPCG.Checked == true)
{
var f4 = new C1.Win.C1FlexGrid.ColumnFilter();
var c4 = f4.ConditionFilter.Condition1;
c4.Parameter = string.Empty;
c4.Operator = C1.Win.C1FlexGrid.ConditionOperator.NotEquals;
flex.Cols["ETAT"].Filter = f4;
}
List LstCol = new List();
LstCol.Add(1);
LstCol.Add(5);
FlexFreezeBottom ffb = new FlexFreezeBottom(flex, 1, LstCol);[/csharp]
here, the update,I've made :
[csharp] main.SubtotalPosition = SubtotalPositionEnum.BelowData;
foreach (int index in LstIndexSum)
{
main.Subtotal(AggregateEnum.Sum, 1, -1, index, "Total{0}");
}[/csharp]
any idea?
thanks