StringGrid - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

StringGrid

_yilmaz_yilmaz Posts: 150Member
Hi all;

-------------------
XXXX|XXXX|1.|2.|3.|
-------------------
XXXX|MATH|AA|BA|BA|
XXXX|--------------
JOHN|CHEM|BA|BB|CC|
XXXX|--------------
XXXX|PHYS|CC|CC|CC|
-------------------
XXXX|CHEM|AA|AA|BA|
SUEX|--------------
XXXX|MATH|BB|BA|CC|
-------------------

I wonder if a string grid allows such a hierarchical structure
(That is, a row can have sub-rows) .If it does not, what do you suggest?
(I want to enable the users to view the records in this structure and they will also be able to modify them on this structure).

Comments

  • adibicheaadibichea Posts: 46Member
    : Hi all;
    [code]
    : -------------------
    : XXXX|XXXX|1.|2.|3.|
    : -------------------
    : XXXX|MATH|AA|BA|BA|
    : XXXX|--------------
    : JOHN|CHEM|BA|BB|CC|
    : XXXX|--------------
    : XXXX|PHYS|CC|CC|CC|
    : -------------------
    : XXXX|CHEM|AA|AA|BA|
    : SUEX|--------------
    : XXXX|MATH|BB|BA|CC|
    : -------------------
    [/code]
    : I wonder if a string grid allows such a hierarchical structure
    : (That is, a row can have sub-rows) .If it does not, what do you suggest?
    : (I want to enable the users to view the records in this structure and they will also be able to modify them on this structure).
    :

    i never try this, but i have a suggestion: use TTreeView for hierarchical view. It's my opinion.
Sign In or Register to comment.