[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-23 Thread Mohammad
The link is added to TW-Scripts On Friday, March 20, 2020 at 12:06:25 AM UTC+3:30, Mark S. wrote: > > https://marxsal.github.io/various/groceries.html > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-23 Thread 'Mark S.' via TiddlyWiki
I've just updated the grocery list showing how this might be done. The problem with not showing empty sections is then, how do you get them back? So I've put in a select list that lets you choose whether to show empty sections or not. Probably I will also add a select option whether to show

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-23 Thread scot
Hello Mark S. Thanks very much for posting your example online. I would like to modify it, but I'm not sure how to do it, to achieve what I would like. Is it possible to show a list of Items by Section, but only show the section and item, where the items have been selcted. My example below,

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-22 Thread David
On Sunday, March 22, 2020 at 12:56:51 PM UTC-4, Mark S. wrote: > > > > On Sunday, March 22, 2020 at 7:01:19 AM UTC-7, David wrote: >> >> >> I saw how you set "sections" up as a tiddler, containing the names of the >> sections. It would be great if there were a dynamic way to get a list of >>

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-22 Thread 'Mark S.' via TiddlyWiki
On Sunday, March 22, 2020 at 7:01:19 AM UTC-7, David wrote: > > > I saw how you set "sections" up as a tiddler, containing the names of the > sections. It would be great if there were a dynamic way to get a list of > the sections. For my grocery list, they are all tagged with >

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-22 Thread David
This is great, but if I may offer one change so that your example could be more easily graspable by noobs like me you used the string "section" to represent two different things. It's a field in the data tiddlers as well as your item iterator variable in the section loop. when I started

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-19 Thread David
Oh, that is good, man! Perfect! Thanks! On Thursday, March 19, 2020 at 4:36:25 PM UTC-4, Mark S. wrote: > > https://marxsal.github.io/various/groceries.html > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-19 Thread 'Mark S.' via TiddlyWiki
https://marxsal.github.io/various/groceries.html -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-19 Thread 'Mark S.' via TiddlyWiki
I've used a slightly different structure, to leverage the tag and list fields. Grocery tiddlers are tagged with "Item", and have the following special fields: tags: (one or more of) Item Selected sections: (field indicating the section where the item can be found) retailers: (list field with

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-19 Thread Mat
@David, maybe not exactly what you describe in your post to Mark but it should work as an exampe to study the ListWidget: fields2table . <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-19 Thread David
Mark, So would each tiddler become like a row in a database table? And would the columns of that row be colon separated values like a data tiddler? Example: Tiddler Name: $:/data/ShoppingItems/Milk Tiddler content: buyItThisWeek: yes recurringWeeklyItem: yes storeSection: Dairy atSamsClub:

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread TonyM
David, Herre is a little code from and existing solution I built The fieldnames are extracted from the data tiddler and a list of only those "checked" is displayed in read only view, in edit view a checkbox is presented for all fieldnames. This is read only/view <$list

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread Mat
David wrote: > > I would love to learn more about the ListWidget. I looked at that main > page and it was just too complicated for me at this point. I'm a > programmer, but a TW noob. > David, you must learn to use the listwidget. It is probably the *most* central widget of them all for

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread David
I would love to learn more about the ListWidget. I looked at that main page and it was just too complicated for me at this point. I'm a programmer, but a TW noob. On Monday, March 16, 2020 at 12:49:07 PM UTC-4, Mark S. wrote: > > I think newcomers sometimes gravitate towards the data

[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread 'Mark S.' via TiddlyWiki
I think newcomers sometimes gravitate towards the data tiddler, because it seems familiar. But really, the main data element in TW isn't the data tiddler, which are pretty limited, but the tiddler themselves. The problem with using a data tiddler is that it will record a single bit of