UA-17470720-3

Jump to content


Photo
- - - - -

An STV grid?

models

  • Please log in to reply
4 replies to this topic

#1 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 17 February 2015 - 08:37 PM

It occurs to me that STV may present the platform for a built in grid view. Has anyone built such a thing?

 

Something like this:

 

 

Attached File  TABLE.png   44.18K   14 downloads

 

 



#2 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 17 February 2015 - 09:27 PM

wouldnt be too hard doing this


P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.


#3 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 17 February 2015 - 09:33 PM

just had a thought.. the simplest way for something this small and simple would be to just create a custom cell with 4 textboxes 


P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.


#4 wizgod

wizgod

    I'm what you guys call a User

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 575 posts
  • LocationThe Grid
Reputation: 149
Popular

Posted 18 February 2015 - 07:30 AM

Greetings Programs!

 

I started down this path a long time ago with my service app and as I worked on it, I started needing more and more functionality and finally ended up using the ShinobiGrid from http://www.shinobicontrols.com. I've even been able to create a drill down grid with it: http://www.shinobico...hinobidata-grid

 

In 2012, Tarek came up with a sample app to demonstrate how to create a grid here: http://sensiblecocoa...-display-a-grid but the attachment is no longer there so I don't know what it actually did.

 

Wg


P.S. I love Swift... talk Swift.. Never too old school to learn yet another programming language. LOL! ;-)


#5 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 18 February 2015 - 09:21 AM

Hi all,

 

This is really trivial to achieve now with STV 4.0. Each row is simply a custom cell with several labels, each bound to a value using the new curly brace binding. If you need more spreadsheet-like functionality, then ShinobiGrid is also a very good option that will save you a lot of custom coding.


  • wizgod likes this





Also tagged with one or more of these keywords: models

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users