1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]m

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

How to make this? Suggestions please...

Discussion in 'Delphi Help&Requests' started by DVi, Aug 10, 2015.

  1. DVi
    Offline

    DVi DF Junior

    Hi to all Delphi experts,
    I'm trying to make a little project witn XE8 and FMX support for Win32/64 and Android/IOS multiplatform application..
    It has a SQLite 3 database and one table is used to create a grid which has different row settings.. This table content is coming from another table and selected by the user needs.
    Table fields are: ID, type, Title, Values
    For example:

    If the Field (type) value is 1:
    the row will be 3 columns as, ID nr., Title, Values is Boolean edit (checkbox or radio button with Yes/No option)

    If the Field (type) value is 2:
    the row will be 3 columns as, ID nr., Title, Values is Text/Number edit (editbox)

    If the Field (type) value is 3 (or other than 1, 2):
    the row will be 3 columns as, ID nr., Title, Values is List selector (combobox - several items as static values)

    and all these values should be write/read on a field (Values) in the table (however it is not necessary to record in a table, the values should be one-time usage is possible) and I'll generate a discussion report about these records in the next step.

    I'm trying to make it with Listview or TMS Grid, but I couldn't find how to change a column type according to field (type) value and sometimes checkbox, sometimes editbox or combobox..

    So, is it possible to make such thing?
    If yes, please contact me or provide me the component name or better a little example about it..

    Thank you for your attention,
    Best regards..
     
  2. DVi
    Offline

    DVi DF Junior

    RE:

    I made it via different method :) Thanks anyway..
    I've created a new form and insert objects on that form.. On the grid, click method calls the new form and adjust view parameters then return given value from the form.. So, my problem solved..
     
  3. rapt0r
    Offline

    rapt0r DF Member

    RE:

    Have you seen the Dynamic Columns in MySQL or a NoSQL database, I think that would help you a lot with this kind of design.
    Good Luck.
     
  4. ssilviu
    Offline

    ssilviu DF Member

    RE:

    What method did you use ?
     

Share This Page