DataView and DataView Tree Levure Helpers
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
DataView and DataView Tree Levure Helpers
Hi folks,
Over the holiday break I took time to package up some UI controls I use in my own projects and make them available as helpers for Levure apps*. The controls are named "DataView" and "DataView Tree". The DataView is a leaner, more efficient DataGrid Form. It allows you to efficiently display highly customized rows of data on desktop and mobile. The DataGrid Tree is built on top of the DataView and works with a tree structure.
I've prepared a demo project with examples of each type of control. Here are the github repos for the demo project and the controls themselves.
Demo Github repo: https://github.com/trevordevore/dataview_demo
DataView Github repo: https://github.com/trevordevore/levurehelper-dataview
DataView Tree Github repo: https://github.com/trevordevore/levureh ... aview_tree
I have also posted a video which walks through the demo project:
https://youtu.be/euIHj1Qrokk
While there is still work to do on the documentation, the demo stack can help the motivated developer start using the controls in their own projects.
* Of course the code will work in apps that don't use the Levure framework. You just need to integrate all of the stacks and scripts into your app manually.
Over the holiday break I took time to package up some UI controls I use in my own projects and make them available as helpers for Levure apps*. The controls are named "DataView" and "DataView Tree". The DataView is a leaner, more efficient DataGrid Form. It allows you to efficiently display highly customized rows of data on desktop and mobile. The DataGrid Tree is built on top of the DataView and works with a tree structure.
I've prepared a demo project with examples of each type of control. Here are the github repos for the demo project and the controls themselves.
Demo Github repo: https://github.com/trevordevore/dataview_demo
DataView Github repo: https://github.com/trevordevore/levurehelper-dataview
DataView Tree Github repo: https://github.com/trevordevore/levureh ... aview_tree
I have also posted a video which walks through the demo project:
https://youtu.be/euIHj1Qrokk
While there is still work to do on the documentation, the demo stack can help the motivated developer start using the controls in their own projects.
* Of course the code will work in apps that don't use the Levure framework. You just need to integrate all of the stacks and scripts into your app manually.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: DataView and DataView Tree Levure Helpers
Very impressive, and the code you were showing was extremely educational as well.
Re: DataView and DataView Tree Levure Helpers
Yay! I was working on solving this very same problem, but now I can just fork and integrate!
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: DataView and DataView Tree Levure Helpers
I've added another DataView helper named "DataView Database Cursor Helper" and updated the demo app. This helper adds a `dvCursor` property to a DataView along with a number of other properties. You open a database cursor, assign it to the DataView, and then the DataView will automatically move through the cursor in order to display the rows the user is currently looking at. Fast and efficient, even for large result sets.
https://github.com/trevordevore/dataview_demo
https://github.com/trevordevore/levureh ... e_dbcursor
https://github.com/trevordevore/dataview_demo
https://github.com/trevordevore/levureh ... e_dbcursor
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: DataView and DataView Tree Levure Helpers
I added one other DataView Tree example to the demo. It allows you to browse the mainstacks in the IDE much like the Project Browser.
https://github.com/trevordevore/dataview_demo
https://github.com/trevordevore/dataview_demo
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: DataView and DataView Tree Levure Helpers
The "Stack Browser" card is an interesting take on the Project Browser. It makes me wonder if maybe I should play with using it to add thumbnails again.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: DataView and DataView Tree Levure Helpers
I think the "Stack Browser" card could be an interesting jumping off point for a full-fledged project browser.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder