Hi All,
Could not find any method to retrive bands count for multiple band table. Is it available?
Please advise.
Thanks in advance,
Dmitry
Dmitry,
The count can be retrieved using GetNAProperty:
SwfWindow("Window1").SwfTable("ultragrid1").GetNAProperty("DisplayLayout.Bands.Count")
Let me know if you have any questions with this matter.
Mr. Halama,
Where would one find a list of possible parameters for GetNAProperty, where you inserted '"DisplayLayout.Bands.Count"'? I would like to take advantage of the GetNAProperty method in order to get cell data from an UltraWinGrid, but I am unsure of what parameters to use to this end.
Joseph,
For getting data from cells it is better to use GetCellData. If you are unsure what to pass in for the row and column, you can record setting the value of the cell and see the row and column arguments.
To answer the question about where to find what properties you can get with GetNAProperty, this returns any .NET property of the UltraGrid object and you can review the API Documentation for the WinGrid here.