Customer Banners (Ads) - SpiceUp. AX and SpotfireX Disclaimer







Warning when upgrading to Spotfire 10

TIBCO has deprecated the JQueryUI Javascript library in the latest Spotfire 10.0 release

TIBCO Community pages show us how to use JQuery properly

Hide crosstable header columns or rowheaders

from Spotfire.Dxp.Application.Visuals import *
from Spotfire.Dxp.Application.Visuals.Miniatures import *

#gt = VisualTypeIdentifiers.GraphicalTable
ct = VisualTypeIdentifiers.CrossTable


def hideColums(x,n,w):
   for vis in Document.ActivePageReference.Visuals:
     if vis.TypeId==x:
         vis = vis.As[Visualization]()
                          for i in range(0,n): 
                              vis.RowHeaderWidths[i] = w


hideColums(ct, 2, 0) #vis type, n=number of headers, width 




Thanks Jolene Robertson!

No comments: