Hello,
I have some trubles using MSComctlLib TreeView object. I am programing add-in application for SolidWorks, which API is exposed through COM. When I load this ActiveX control into host application it works very strangely. The tree is formed, but the text on every node is not displayed. Its...
I agree that it's not the easiest way to do things, but i think its more flexible than using table row and column structure. For example if i want to have nested table or if i want to merge cells. Its easier to manipulate cell objects in a table, having only columns as real cell containers.
As...
I understand that i have to have base cell class which would be super class for leaf and container. That is what i ment when i told that cell (base cell) can be table (row, column or leaf cell).
Befor posting here i was trying to implement a bit different structure, where i had:
Table <>--->...
Thanks for explain. This time its much clearer for me what your solution would be. So class diagram for this would be:
1 1..*
Container ---> Cell(leaf)
^
/|\
|
-----------|----------
| | |...
In first message i wrote that table, column and row contains cellBase - which can be cell(leaf) or other container. So any column(row, column) could be constructed from several columns (rows, tables).
I'm not sure if i uderstand your point Bob.. U say that:
table 1 -> 0..* cell
table 1 ->...
If u choose table-row-cell in that way u will have same situation merging two cells from different rows. Same problem.
As for merging two cells from differen columns, i could do as u say, but this is what i will get:
Before merge:
column_1 contains cell_1
column_2 contains cell_2
After merge...
This table that i try to implement consist of two states:
- creating table template - just seting columns(object properties) that has to be displayed, setting up header and footer
- and concrete table creation - getting objects, their properties and filling table with data.
I think, option that...
I understand the basics of uml, but what mixes me up is this column row table relation.
As i understand, i have 3 options:
1) to have table-comlumn-cell structure, excluding rows, where table contains columns ("one to many") and columns contains cells ("one to many" or sometimes "many to many"...
Thanks Bob for reply.
Other thing that i can't figure out is how could i separate header and footer class? As u wrote, they actualy are leaf classes, but they also can contain several TextCell objects.. so they are also containers???
Also i know that column, row or table can only have one header...
Hi to all
In advance: sorry for my english
Problem:
Design table that contain columns with data that is taken from database.
Using designed structure there should be possibility to create statical table - that consist of fixed number of columns and rows.
I also work with filer, so designed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.