Hi All,
Could not find any method to retrive bands count for multiple band table. Is it available?
Please advise.
Thanks in advance,
Dmitry
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.
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.
Hi Marianne,
Thank you very much for your help.
There are no any questions for now.
Regards,
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.
Dmitry,
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.
Let me know if you have any questions with this matter.