DenisMedvedev
9 years agoContributor
How to get Jtable element?
I Have a Jtable and bellow code doesn’t work. What I’m doing wrong?
JTable = Aliases.Application.bla-bla-bla.CustomerSection.CustomerGITable
I also tried JTable = CustomerGITabl.PanelViewport, CustomerGITabl.PanelViewport.CustomertableRows and I weren’t able to get cell element
var i i = JTable.FindRow("Phone", ''); if (i!=-1) { JTable.wValue(i, "Phone") = "1234567800"; JTable.wValue(i, "Fax") = "885614"; PostRow(JTable, i); }
I have "Unable to find the object FindRow("Phone", ""). See Additional Information for details." error
Right. JTable is not a JTable. It's a JScrollPane.
Check the childs of JScrollPane. JTable can be among them.