Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Gantt Extension Row Limit?

Hi all,

I'm sure this isn't a very well supported question as it's dealing with an extension, but I though maybe someone else has come across this.

I'm using QV10 and the Gantt extension successfully and I've gone so far as to tweak the script.js file a bit to format things more to my liking.  Now I seem to be running into an issue where a chart will only show about 39 rows (or gantt bars).  It doesn't error, it just seems to stop at 39.  I've ruled out data issues and special characters and there are more than 60 rows of data in the app.

I can't find any configurable limits in the script.js file, so I'm figuring that it may actually be a hard coded limitation in the .swf file that renders the graph.

Anyone hit this problem?

And let me be the millionth person to say, adding a fully supported gantt capability so I can stop using this extension (and AJAX) would be an excellent addition...

1 Solution

Accepted Solutions
Not applicable
Author

Sorry I answered from my memory but the element name was ExtensionObject instead of Extension. Change the second line from:

<ExtensionObject Label="Gantt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Definition.xsd" Description="Shows records with image and text with a paging control">

To:

<ExtensionObject Label="Gantt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Definition.xsd" Description="Shows records with image and text with a paging control" PageHeight="1000">

View solution in original post

4 Replies
Not applicable
Author

In the definition.xml file of the extension, add the attribute PageHeight="1000" to the <Extension> element.

Not applicable
Author

Thanks, I tried but couldn't get that to help, but I'm probably a dolt.  Here is the original definition.xml code.  How would you insert that correctly?

<?xml version="1.0" encoding="utf-8"?>

<ExtensionObject Label="Gantt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Definition.xsd" Description="Shows records with image and text with a paging control">

  <Text Initial="" Expression="Project Plan"/>

  <Text Initial="" Expression="Tasks"/>

  <Dimension Initial="" />

          <Dimension Initial="" />

          <Dimension Initial="" />

          <Dimension Initial="" />

    <Measurement Initial="" />

    <Initiate Name="Chart.BgColor.ColorHex" value="#FFFFFF" />

  <Initiate Name="Caption.Text" value="Gantt Chart" />

</ExtensionObject>

Not applicable
Author

Sorry I answered from my memory but the element name was ExtensionObject instead of Extension. Change the second line from:

<ExtensionObject Label="Gantt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Definition.xsd" Description="Shows records with image and text with a paging control">

To:

<ExtensionObject Label="Gantt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Definition.xsd" Description="Shows records with image and text with a paging control" PageHeight="1000">

Not applicable
Author

That worked!  Thanks alot!