Levure Dataview: hiding rows

David Bovill david.bovill at gmail.com
Thu Jun 24 07:46:18 EDT 2021


Im exploring how to hide a row in Levure Dataview. I can delete the row and reset the dvData - but that seems overkill. On GitHub there is a mention of HideRowControl?

I’m running into the limits of the documentation for Dataview. Any ideas?

📆    Schedule a call with me
On 22 Jun 2021, 05:08 +0100, David Bovill <david.bovill at gmail.com>, wrote:
> Hah - hey thanks for that Sean. The recipe feels a bit like going to the government and filling in forms in triplicate to get your life back :)
>
> 📆    Schedule a call with me
> On 22 Jun 2021, 03:15 +0100, Sean Cole (Pi) via use-livecode <use-livecode at lists.runrev.com>, wrote:
> > Hi David,
> >
> > iOS 'fir' / 'for' issue.
> >
> > I don't know if this already got answered elsewhere in the thread. There
> > are two easy fixes for this.
> >
> > 1. In Notes, type 'Fir always' then select the word 'Fir' and from the
> > pop-up menu select 'replace...' then replace with 'For'. Delete the line of
> > text and repeat nine times.
> > Now repeat this whole thing but use the phrase 'Once fir all'. If this
> > corrects to 'for' right away then it is already fixed. Otherwise, continue
> > using this phrase replacing 'fir' with 'for'.
> >
> > 2. If this still does not fix it, in
> > Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement
> > 'for'.
> >
> > (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is
> > the last resort.)
> >
> > All the best
> >
> > Sean
> >
> >
> > On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> > > I’d like to add an image background to a Dataview, so that is scrolls
> > > alongside the rows.
> > >
> > > Any pointers?
> > >
> > > 📆 Schedule a call with me
> > > On 11 Jun 2021, 18:01 +0100, David Bovill <david.bovill at gmail.com>, wrote:
> > > > So I got visual feedback from drag-and-drop using the Levure DataView
> > > following instructions at:
> > > >
> > > > • https://github.com/trevordevore/levurehelper-dataview
> > > >
> > > > I add the following code to the DataView:
> > > > > quote_type
> > > > > on dragStart
> > > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me
> > > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true
> > > > > set the dragData["private"] to the dvHilitedRows of me # dragdata has
> > > to be set to something.
> > > > > end dragStart
> > > > >
> > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation
> > > > > put "Dragging" && pProposedRow && pProposedDropOperation
> > > > > return true
> > > > > end ValidateRowDrop
> > > > >
> > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation
> > > > > put "Dropped" && pRow && pDropOperation
> > > > > end AcceptRowDrop
> > > > >
> > > > But the ValidateRowDrop message does not get sent, also I don’t get any
> > > visual feedback with a "drop indicator" (the line that shows you where the
> > > drop will occur) - any idea?
> > > >
> > > > 📆 Schedule a call with me
> > > > On 11 Jun 2021, 16:03 +0100, David Bovill <david.bovill at gmail.com>,
> > > wrote:
> > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as
> > > Trevor is the main man with the drag stuff and having differenr styles for
> > > rows is a must.
> > > > >
> > > > > NB on the typo front I have a distant memory that aeons ago when I
> > > first got an iPhone I said yes to the spelling “fir”. Ever since then all
> > > my devices seem to love this word - anyone have an idea how to correct this
> > > auto typing flaw?
> > > > >
> > > > > 📆 Schedule a call with me
> > > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode <
> > > use-livecode at lists.runrev.com>, wrote:
> > > > > > Hi David,
> > > > > >
> > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode <
> > > use-livecode at lists.runrev.com>:
> > > > > > >
> > > > > > > Is there a simple demo out there that shows how drag-reordering of
> > > rows in a dataview works? Is this feature experimental? Got a deadline fir
> > > Monday considering taking the plunge?
> > > > > >
> > > > > > Levite Dataview? 8-)
> > > > > > Sure you do not mean LC datagrid?
> > > > > >
> > > > > > > 📆 Schedule a call with me
> > > > > >
> > > > > > No. :-D
> > > > > >
> > > > > >
> > > > > > Best
> > > > > >
> > > > > > Klaus
> > > > > > --
> > > > > > Klaus Major
> > > > > > https://www.major-k.de
> > > > > > https://www.major-k.de/bass
> > > > > > klaus at major-k.de
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > use-livecode mailing list
> > > > > > use-livecode at lists.runrev.com
> > > > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list