Any spreadsheets available for inclusion ?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Any spreadsheets available for inclusion ?

Post by richmond62 » Thu Nov 24, 2022 7:45 pm

Probably, Craig.

At the risk of being accused of being a damp squib re datagrids I'd plump for tableField everytime.

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Any spreadsheets available for inclusion ?

Post by stam » Thu Nov 24, 2022 8:10 pm

whatever works is for you is the right thing :)

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Any spreadsheets available for inclusion ?

Post by SWEdeAndy » Fri Nov 25, 2022 5:01 pm

I really must chip in with one word here: PolyGrid!
I'm ditching most of my datagrids in favour of the PolyGrid widget now! It's an amazing addition to LiveCode! If you didn't get the Summer bundle, it's well worth paying for just the Polygrid.
(And the PolyList widget, which is even more amazing! The best thing that happened to LC for a long time!)

But for spreadsheet functionality, go PolyGrid! 8)
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Any spreadsheets available for inclusion ?

Post by dunbarx » Fri Nov 25, 2022 5:53 pm

Andy.

I have heard about this bundle a lot, but did not get one. Is the power of a polyGrid between that of a table field and a dataGrid? Is its learning curve more or less than that of a DG? A DG seems to have it all. What does the polyGrid offer that excites you so?

Craig

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Any spreadsheets available for inclusion ?

Post by SWEdeAndy » Fri Nov 25, 2022 7:44 pm

dunbarx wrote:
Fri Nov 25, 2022 5:53 pm
I have heard about this bundle a lot, but did not get one. Is the power of a polyGrid between that of a table field and a dataGrid? Is its learning curve more or less than that of a DG? A DG seems to have it all. What does the polyGrid offer that excites you so?
The polyGrid is very similar to how the dataGrid functions, but since it's a single object widget, it's much faster than the dataGrid, and does not create a substack and is not made up of LC objects etc.

I would say the learning curve is smoother (or whatever is the right word) than the dataGrid's. I've learned how to create rather complex dataGrids, but still love the simplicity of the polyGrid. You don't need to care about behaviors or various template objects' scripts - all interaction can be handled in the polyGrid script.

What the polyGrid does NOT have at the moment:
- Live row reordering (that looks cool/intuitive)
- Swipe left/right (to reveal options for the row, for example)

So for one app that I have in the Apple AppStore, where both row reordering and swipe are features, the polyGrid is not yet a replacement of the dataGrid. But in a project for the client that provides my main income this year, where displaying large amounts of data with column width adjustment on the fly etc is important, and where new modules are constantly added, by cloning stacks containing dataGrids (which causes id clashes and shit) getting rid of dataGrids in favour of polyGrids is fantastic.

So, if you are working a lot with spreadsheet-relevant data, I would definitely recommend getting and trying the polyGrid.

But if that is not a main interest, and you can afford only one widget this year, I would say polyList! I plan to make a post with examples of how variously the polyList can be used. But that's for another thread... :)
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Any spreadsheets available for inclusion ?

Post by dunbarx » Fri Nov 25, 2022 9:17 pm

Andy.

Please do post some gadgetry using polyWhatevers.

Craig

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Any spreadsheets available for inclusion ?

Post by stam » Sat Nov 26, 2022 5:56 pm

I'm not sure, but suspect you have to own polyGrid if you want to test a stack with polyGrid (or it could be made standalone with polyGrid included I guess). This is the reason I'm mostly sticking with the default inclusions when creating stuff to share with others, even though I'd like to use polyGrid, polyGrid and powerButtons for example. Heck, I don't even use the very nice and free universalButton because I know people won't install 3rd party widgets just to check stuff out.

Of course, for my own projects I build into standalone I do use these, although in many cases the venerable DataGrid is hard to beat ;)

Polygrid is for sure simpler - it's a widget rather than a group, which means you can only interact with a defined API and offers much less functionality than the data grid - it is roughly the same as a data grid table, not a form. So arguably a glorified tableField ;)
But it does work well and it is fast.

PolyList is also very nice - it offers higher functionality than a data grid form, in as much as you can set multiple columns and it looks superb; and again it is.a widget, rather than a group. But setting up the 'prototype' object is a bit tricker and not as intuitive as the data grid form.

These are very nice additions to LC and I would argue they really need to be part of the standard license... maybe that will come in the future...

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Any spreadsheets available for inclusion ?

Post by SWEdeAndy » Sat Nov 26, 2022 7:46 pm

stam wrote:
Sat Nov 26, 2022 5:56 pm
These are very nice additions to LC and I would argue they really need to be part of the standard license... maybe that will come in the future...
Yes, I thought so too when they became available! This would be helpful for selling LiveCode to new users! I hope they will become part of the standard license later on.

I realise one more thing the dataGrid form does that neither poly widget does (yet): variable row height. So for e.g. a chat feature mimicking an sms/Messenger app, I would still need the dataGrid. It is indeed versatile (once you've tamed it... :) )

Still in love with both the polyList and the polyGrid though... Once you go poly... :lol:
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Any spreadsheets available for inclusion ?

Post by Klaus » Tue Nov 29, 2022 12:58 pm

Here a lesson from the mothership, which shows the benefits of a PolyList and how to use it:
https://lessons.livecode.com/m/4071/l/1 ... h-polylist

CAsba
Posts: 363
Joined: Fri Sep 30, 2022 12:11 pm

Re: Any spreadsheets available for inclusion ?

Post by CAsba » Sat Dec 17, 2022 4:06 pm

In response to Craig, I'm not familiar with table field or dataGrid, I only discovered LC in September. Would table field or data grid be able to do this:- a product listing that has a code, description, etc., and also its minimum purchasable quantity (be it in pounds, kilograms, pints, litres, inches, cms, all to be converted into metric within the listing, and cost), usual discount, markup, and a calculated price per unit, derived from the information included in the (one line) listing ? In this scenario, some fields would contain formulas for the calculations of data from other fields in the listing. Hope this makes sense.
Or, is there any way I could incorporate an external spreadsheet, Excel or Google or whatever, into LC which would work in a distribuable standalone on a user's computer that does not have the spreadsheet installed ?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Any spreadsheets available for inclusion ?

Post by FourthWorld » Sat Dec 17, 2022 5:09 pm

CAsba wrote:
Sat Dec 17, 2022 4:06 pm
In this scenario, some fields would contain formulas for the calculations of data from other fields in the listing.
Are you looking for a way to allow the end user to define formulas? You could build that in LC too, but it's a lot of work.

If all you need is a grid display where some fields have values that are calculated, LC scripting can make those calculations easy to put into place.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

CAsba
Posts: 363
Joined: Fri Sep 30, 2022 12:11 pm

Re: Any spreadsheets available for inclusion ?

Post by CAsba » Sat Dec 17, 2022 7:16 pm

Thank you Richard, that.s good to know

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”