General Questions

Why spreadsheets?

Spreadsheets are great for laying out tabular data; expressing calculations while showing your work; and allowing modification of not just the data, but also the calculations in a model.

How is it different from [grid component]?

TREB is not a grid (although there is a grid in there). It's a complete spreadsheet with a calculation engine, parser, number formatter, etc.

How is it better than Excel/GDocs/Zoho/etc?

It’s not, it’s different. TREB is intended for simple embedding within web pages. There’s a particular combination of benefits you don’t get elsewhere: it’s free, you can host it yourself, and you can host your own documents.

You can also connect the spreadsheet to other elements in your webapp through the API.

Does it support VBA?

No.

Does it support (...)?

Maybe. Because TREB was built for our needs, it bascially does what we need it to do. If there’s something missing that you need, let us know and we can see if it fits into our development plan.

Licensing

What is the license?

Creative Commons Attribution-NoDerivatives 4.0 International License. See the download page for details.

What does it cost?

TREB is free.

Why is it not open source?

There are a couple of bits that we want to keep internal, at least for the time being. We are considering open sourcing the rest of it, though. No final decision has been made and there’s no particular ETA.

Technical Questions

Why not a proper web component?

Because IE11, basically. If we use web components and there’s any possibility someone will connect with IE11, then we have to include a compatibility library, which we don’t want to do.

What web browsers are supported?

Evergreen versions of Chrome, Firefox and Safari, on all major platforms. IE11 on windows. We support chromium-based Edge but not the old Edge (it may or may not work; we don’t test it).

Can I change the decimal separator?

TREB figures out the decimal separator based on the locale your browser reports. If you want to explicitly set a locale, you can override the default with a get parameter. For example, try ?locale=pt-br (comma) or ?locale=en-us (dot).

Does it work in Electron?

TREB works great in Electron, with one caveat. If you are using strict CSP (which you should), injecting stylesheets will fail. We maintain a build with a separate stylesheet to work around this. Contact us if you want to use it.