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



If you find this site useful and you want to support, buy me a coffee   to keep this site alive and without ads.

Searching Columns

This example illustrates how to search for column

#finds the index of columns based on search expression.
#see "Searching in TIBCO Spotfire" from the TIBCO Spotfire User's Guide (help file)

searchExpression = "*Out*" #help>Tools>Find>Searching in TIBCO Spotfire
cols = myTable.Columns

for startCols in cols.FindAll(searchExpression): 
   index=0
   for c in cols:
      if c.Name == startCols.Name:
         print index, c.Name
      index+=1

No comments: