Hi,
I have a scenario where I need to count the total number of row from an Ultra Grid control and expand all expandable rows. But the problem is there are some rows in the Ultra Grid that are not expandable. Is there any way to find if a row is expandable or not?
Ammar please Help me again.
Thanks
Nabajyoti
Oh I got your point. I used same and it worked for me.
Thank you very much Amit....
Regards,
HI,
wat I am using are the runtime methods.
I hope if you try the following code it may work;
SwfWindow("aaa").SwfWindow("aaa").SwfTable("aaa").Object.Rows.Item(0).IsExpandable
I am getting the rows collection for the grid object and then checking for the particular row whether the Expandable property available for it.
Amit
Thanks for your response amit, but what do you mean by "Object.Rows.Item(rowIndex).". I have little confusion.
when I record expanding one row the code comes like following..
SwfWindow("aaa").SwfWindow("aaa").SwfTable("aaa").ExpandRow(0)
can you please clear me
you can check that using following code to know whether the row is expandable or not.
SwfWindow("asdada").SwfTable("asdasda").Object.Rows.Item(rowIndex).IsExpandable
here SwfTable is my ultraGrid.
Hope it will solve your problem.