Table input

Info about design forms features
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Table input

Postby PetrS » 16 Jul 2014, 06:49

Attachments
TableInputExample.cls
(13.33 KiB) Downloaded 226 times
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Table input

Postby PetrS » 16 Jul 2014, 06:49

ubRemoving rows in table/b/u
1. Select row by click on the row headline (the most left gray cell)
2. Press DELETE on keyboard
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Table input

Postby PetrS » 16 Jul 2014, 06:50

ubDisplay number of rows in source code:/b/u
x.Count where "x" is a variable connected to the table input
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Table input

Postby PetrS » 16 Jul 2014, 06:50

ubFrequent bug in variable declaration:/b/u

object X; // declares variable "X" of type "object - array". No value is saved by this command.
object Y = new object; // declares variable "Y" of type "object - array" and assign new (empty) array to this :!: .

Use first command to declare variable linked to TableInput.
Second command declares variable and clears its value - do not use this for variable linked to TableInput. Otherwise you clear user's input!
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Re: Table input

Postby PetrS » 24 Jul 2014, 12:57

size=150New features/size

ubFixed rows/b/u
Set this property to define fixed number of table rows.
Set "-1" to disable this and allow user to add/remove rows

ubColumn sorting/b/u
There is a new boolean property in table column definition.
If checked, automatic column sorting is enabled.
If unchecked, no sorting is allowed.
Ing. Petr Slepicka

Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 6 guests