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
200
Sort and Grouping performance with Formula Columns
posted

I am working on an application that has realtime columns and static columns.  The realtime columns are constantly updating on the grid every second or so, and the static columns provide basic information on the row (Name, Location, etc)

Our uses like to create lots of formula columns using the formula builder.  Some of these formula columns are large nested if, and, or statements that use static column data to produce a result. 

The issue that I am running into is that these columns, even when not visible, are causing other formula columns to take an extremely long time to calculate when either a sort or a group by action happens on said formula column. 

For example, lets say i have 5 formula columns.  3 of those columns are basic RTcolumnA *  RTcolumnB type columns.  The last 2 columns (we'll call them formulaColumn1 and formulaColumn2) have nested if blocks that also use AND and OR funcitons in them.  formulaColumn1 will also reference formulaColumn2 within its logic.

my questions are:

1.) Is there a way to stop a formula from recalculating when a different formula is being sorted/grouped?

2.) Should the grid be able to handle formulas like the ones i described above (formulaColumn1 and formulaColumn2) with reasonable performance (have sort/group action complete within 2-3 seconds with about 800 rows).

3.) Why is it that this only happens on sort/group actions with other formula columns? We are not performing any logic within the before/after sort or group handlers. I would think we would have the same performance issue on the initial calculation of the cells.

Thanks,