Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Tables & Charts


Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old October 3rd, 2018, 11:40 AM
randdevin randdevin is offline
Junior Community Member
Join Date: Jan 2012
Location: TX
Posts: 17
Default Re: Varying number of Rows and Colums

Think I got it working.
I added a simple If statement

var numColumns = (names.length < 6) ? 1 : 2;
for (var c = 1; c <= numColumns; c++)
if ( numColumns <= 1 ) 
Thanks Dan..
I will start modifying the format for the customers needs..
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 10:03 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.