Let us provide you with a deeper insight into this update.
Introduced in v4.0, built-in functions have quickly become one of the most popular functionalities among our clients who use DHTMLX Spreadsheet in their web applications. That is why v4.2 offers higher diversity of Excel functions.
For version 4.2, we significantly increased the number of math formulas that will help to execute a greater range of arithmetical operations. We added functions that are used in trigonometric equations (SIN, COS, TAN, COT, SEC, etc.), logarithmic calculations (LN, LOG, LOG10), estimation of standard deviation based on various criteria (STDEV, STDEVA, STDEVP, STDEVPA), and more.
We also broadened the choice of available string functions. For example, now end-users can put to use such functions as SEARCH for detecting the location (as a number) of one string within another, EXACT for comparing two text strings, SUBSTITUTE for replacing an existing piece of text with a new one, and many other text formatting options.
The financial functions will come in handy when preparing financial reports or budget forecasts. They allow performing various financial calculations, including the net present value of an investment (NPV), asset depreciation (DB), nominal annual interest rate (NOMINAL), internal rate of return (IRR), etc.
The RegEx (regular expressions) functions can be extremely useful in working with text. A regular expression is a special text string that helps to create patterns for matching, locating, and managing textual data. Our release includes regular expressions for finding and replacing specific information (REGEXREPLACE), checking if a text string matches a regular expression (REGEXMATCH), and extracting the part of the string that matches the given pattern (REGEXEXTRACT).
With new information functions such as ISBLANK, ISTEXT, ISNUMBER, it is really easy to check on the content and formatting of any cell in a spreadsheet.
In general, the list of supported formulas in the DHTMLX Spreadsheet library has been extended to 171. All of the spreadsheet functions are fully compatible with Excel and Google. You can find all of the reviewed and other new functions in the snippet below and choose those that are needed for your project.
Starting from v4.2, DHTMLX Spreadsheet provides built-in support for boolean operators (also known as logical). In essence, they are basic mathematical symbols (=,>,<). They are utilized for comparing values stored in two or more cells and returning either TRUE or FALSE as a result. You can also create more elaborate formulas by combining boolean operators with newly added logical functions (AND, OR, NOT, IF, etc.). Thus, you will be able to carry out more than one comparison or test multiple conditions.
Check the sample >
As we have mentioned earlier, the release includes an array of functions allowing you to manipulate various forms of data within a spreadsheet, including date parameters. They range from basic DAY, MONTH, and YEAR to more complex functions such as NETWORKDAYS for showing the number of workdays during the specified period of time, excluding weekends. When working with the new date format, you can make use of the integrated mini-calendar that facilitates the practical application of the date format.
Changing the Height of Particular Rows
When working with tabular data, it can be useful to have an opportunity to resize sheets. Therefore, we decided to complement the DHTMLX Spreadsheet with the possibility to change the height of rows right from the UI. As a result, end-users can easily set the size of spreadsheet rows to their liking via drag-and-drop.
You can also benefit from updates in the parse() and serialize() methods. New rows and cols attributes make it possible to save the current state of row height and column width for each sheet separately. Moreover, sheets can be easily exported/imported with the necessary sizes of rows/columns.
Vertical Align Button
Once you start using the new row resizing option mentioned above, you will certainly need a tool to vertically adjust the position of cell data. No worries, we took care of it. The toolbar of our spreadsheet component now has a new button serving for vertical alignment.
Thus, the Align section of the toolbar is split into two parts – Horizontal align and Vertical align. With the latter option, end-users can vertically align content at the top, center, and bottom parts of a cell. The center alignment is enabled by default. Moreover, we’ve also updated locale options for the Align section.
Go over all the updates and fixes provided in DHTMLX Spreadsheet v4.2 by visiting the “What’s new” section of our documentation.
We hope that the new version of the DHTMLX Spreadsheet will be really useful in your web projects. If you are eager to share thoughts on this minor update or offer any suggestions on how to make our product even better, feel free to use the comment section below.
Take a chance to test the DHTMLX Spreadsheet v4.2 by downloading a free 30-day trial version.
If you are a current DHTMLX, get access to the latest version of our JS Spreadsheet component via your Client’s Area.