I can use a grid to display an enter data. But I'd like a tablelayout, populated be a datasource:

  • number of rows unkonwn at design time
  • repeated values could merge via row-span
  • not yet enterd data could be "behind" colspan element
  • datasource would supply row-span an col-span

 orderline      item  amount amt-shipped  deliv-id   amt-billed  inv-id
---------------------------------------------------------------------------
        1      aaa   10        0           -           0          -
---------------------------------------------------------------------------
        2      bbb   20       8           4711        4         8001     
---------------------------------------------------------------------------
        2      bbb   20       8           4711        4         8002
---------------------------------------------------------------------------
        2      bbb   20       2           4712        0          -
---------------------------------------------------------------------------

would become a nice dynamically created table layout:

orderline item amount amountshipped deliv-id amount-billes invoice-id
------------------------------------------------------------------------
    1      aaa   10   |     not-yet-shipped
------------------------------------------------------------------------
                      |                      |      5         8001     
                      |     8          4711  |--------------------------
    2      bbb   20   |                      |      5         8002
                      |-------------------------------------------------
                      |     2          4712  |    not-yet-billed
 -----------------------------------------------------------------------

asked 01 Dec '14, 12:07

dipr's gravatar image

dipr
1561327
accept rate: 0%


Hi Paul,

We have plans to extend the capabilities of Formspider to support such designs. There is no time table set to implement this feature though.

Kind Regards,
Yalim

link

answered 03 Dec '14, 09:27

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 21%

1

We implemented a new panel type called repeatPanel in FS Mobile which is not exactly what you want but would give you a lot more flexibility in your Panel designs. A repeatPanel is a panel with a datasource attached. Formspider loops over the rows in this datasource and keeps adding the content of the panel for each row in the datasource to the screen.

We intend to bring something similar to FS Desktop at some point.

(03 Dec '14, 09:33) Yalim ♦♦

Let me clarify the explanation of repeatPanel a little bit. It doesn't "redraw" the content, I think a better way to put it is it keeps adding new tags to the Panel XML while looping over the rows. I edited the previous comment accordingly.

(03 Dec '14, 10:32) Yalim ♦♦

Hi Paul,

The easiest way to achieve this is to populate an HTML table based on your data display it through the htmlEditor component.

Hope this helps,
Ibrahim

link

answered 02 Dec '14, 13:49

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Great idea but that would be read only, right? I cannot put formspider textFields into an htmlEditor's text?

And it would be the Formspider look and feel, (decoration etc), right?

link

answered 02 Dec '14, 16:36

dipr's gravatar image

dipr
1561327
accept rate: 0%

edited 02 Dec '14, 17:59

Hi Paul,

The HTML you'd generate would be standard HTML and would have nothing to do with Formspider. It would be like a web page showing inside a Formspider application.

(03 Dec '14, 09:25) Yalim ♦♦

Sounds very cool! I vote for "repeatPanel" in FS Desktop as feedback-collection test-item! How would I differenciate the various instances that got repeated?

link

answered 03 Dec '14, 14:44

dipr's gravatar image

dipr
1561327
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×64
×12
×7
×3
×1

Asked: 01 Dec '14, 12:07

Seen: 1,362 times

Last updated: 03 Dec '14, 14:44


© Copyright Gerger 2017