Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an fixed size of rows and columns(3 X 3) table.


If user try to give input like
1 X 2
2 X 1
1 X 1
2 X 2

then my code will check how much space left inside table.

Means,
If user fills 1 X 2 means- user fill data in 1 is treated as a rowspan and 2 is treated as a colspan.
then If user enters 2 X 1 - then it should fill 2 rowsspan and 1 colspan.
It should not create new table, It should get prescribed inside 3 x 3 table.


Can anyone help me out to calculate this kind of logic

What I have tried:

I dont have any idea how to start and what should I try to calculate the things for tABLE .
Posted
Updated 11-Mar-19 19:22pm

1 solution

 
Share this answer
 
Comments
Member 9956700 12-Mar-19 5:49am    
no- this is not linked with my query. thanks @Gerry.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900