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.
Alan,
Yes, it works. Mnay thanks. Also found.
SwfWindow("Window1").SwfTable("ultragrid1").object.DisplayLayout.Bands.Count
Regards,
Can you suggest the document which contains the info to access NA properties? Unfortunately, I could not find this info in your "Infragistics Test Advantage" local help file.
Thanks,
GetNAProperty gives you the values for the properties of the .NET object so you will need to reference the API documentation of the controls. For the grid this would be the UltraGrid. You can get to the API documentation by going to the Windows Forms Online Help. From the tree you can select "API Reference Guide" and this will give all of the NetAdvantage assemblies and you will be able to get the API documentation for any NetAdvantage control.
Note that if you are not sure which assembly contains the control that you are looking for you could also use the Developers Guide. For example the following steps will give you links to the common classes for the UltraGrid and a link to the control itself:
The key classes will include a link to the control and other important classes related to the control.
Hi Dimitry,
It looks like Alan was very thorough but I was wondering if you had any follow-up questions.
Please let me know if there is anything further.
Hi Marianne,
Thank you very much for your help.
There are no any questions for now.