Extreme Component

JDataGrid Programmer Guide > Formula Support

Formula Support

The evaluation version of JDataGrid only provides a few formula functions for demostrating, in order to get more functions, please purchase a Binary License or Source Code License.

The purchase version of JDataGrid supports the logical functions, date functions, math functions, string functions, cell functions, and partial statistical functions. We work hard to add new functions and improve the formula support for JDataGrid in the future release.

Functions

The current version of JDataGrid supports the following functions:

Create a formula

The following codes demostrate how to create a formula:

Code Samples:

String text = "3+4*5+7";
Formula formula = FormulaFactory.getDefault().createFormula(text);

Formula Syntax

The formula syntax follow the standard formula syntax of Microsoft EXCEL.

Work formula with JDataGird

The JDataGrid provides support for formula operation, it allows calculating the formula automaticly.

Formula Renderer and Editor

The JDataGrid provides a formula cell renderer and a formula cell editor.

Known Problems

The support for the formula of JDataGrid is not completed, and we will continue working hard to add new functions and improve the formula support.


Copyright (c) zfqjava.com
All rights reserved.