June 27, 2016 at 1:26 am
Hi All,
I want to generate the HTML with rowspan and colspan using sql query.
I can create HTML table but unable to give rowspan to TD tags.
Please give me the suggestions.
June 27, 2016 at 1:31 am
panneermca35 (6/27/2016)
Hi All,I want to generate the HTML with rowspan and colspan using sql query.
I can create HTML table but unable to give rowspan to TD tags.
Please give me the suggestions.
Can you please elaborate further with sample data and what you have tried so far.
😎
June 27, 2016 at 1:40 am
Hi,
Unable to paste sample table format here.
I want to generate html like below
--------------------------|
No | name | Department |
--------------------------|
1 |Ram | Payroll |
------------| |
2 |John | |
---------------------------
3. |Peter | HRM |
---------------------------
But i generated the below HTML
--------------------------|
No | name | Department |
--------------------------|
1 |Ram | Payroll |
------------|-------------|
2 |John | |
---------------------------
3. |Peter | HRM |
---------------------------
June 27, 2016 at 4:33 am
Quick though, count the null columns in each row and add the count to the colspan of the last cell.
😎
June 27, 2016 at 5:25 am
thanks you for the quick reply.
I have done the colspan i want to do rowspan?
June 27, 2016 at 6:10 am
Add the count of each department as the rowspan to the first department cell of each department, easy with count and row_number over (partition by department)
😎
September 18, 2017 at 10:57 am
panneermca35 - Monday, June 27, 2016 1:26 AMHi All,I want to generate the HTML with rowspan and colspan using sql query.I can create HTML table but unable to give rowspan to TD tags.Please give me the suggestions.
I need the same. Can you found the solution?
September 18, 2017 at 10:57 am
panneermca35 - Monday, June 27, 2016 1:26 AMHi All,I want to generate the HTML with rowspan and colspan using sql query.I can create HTML table but unable to give rowspan to TD tags.Please give me the suggestions.
I need the same. Can you found the solution?
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply