Skip to content

mesopelagique/form-list-Tabular

Repository files navigation

Tabular

Language check

Present data as tabular view.

screenshot

  • Type: Collection

Limitations

  • Section: not available
  • Search: not available
  • Actions: not available
  • Transition to detail form: not available

How to integrate

  • To use a list form template, the first thing you'll need to do is create a YourDatabase.4dbase/Resources/Mobile/form/list folder.
  • Then drop the list form folder into it.

For instance with git go to your database folder

cd YourDatabase.4dbase/Resources/Mobile/form/list

If your project is not a git repository, just clone

git clone https://github.com/mesopelagique/form-list-Tabular.git Tabular

otherwise use a submodule

git submodule add https://github.com/mesopelagique/form-list-Tabular.git Tabular

Example in https://github.com/mesopelagique/Example-Tabular

How to use

Drop as first column an id or a the main column for data like a "name".

Then drop numbers columns.

How to customize footer

You could edit the storyboard template to select footer computation. By default the value is sum. You could remove or add min, max, avg. (String value separated with comma)

With Xcode storyboard

or in code https://github.com/mesopelagique/form-list-Tabular/blob/master/Sources/Forms/Tables/___TABLE___/___TABLE___ListForm.storyboard#L184

How to customize cells appareances

Edit storyboard with xcode.

This is 6 cells to customize separately :

  • header : first row, which contains fields labels
  • first column (x2: odd or even row position)
  • from second to N columns (x2: odd or even row position)
  • footer : contains computation such as sum, min, max & avg

About

List form to display numeric values in tabular form

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages