Another advantage of nodes is that they can be easily updated. The attached example creates a table with two columns. The second column can be updated:
If you are in the need to update values directly from the tw, then you may want to use informatix tableview extended.
If you prefer to update values with external controls (passing the row in to text fields and a button to save the information back into the tw) then its easy with
I looked in the tablExample.zip file but I did not see anything that looked like it was updating anything. I will take a closer look. And no to the whole column. I need to update a single cell rather than a whole column or row. I think I may have found a sub program that does it that I am going to try.
'For the selected row
tw.selectedrowvalues(0) = textfield1.text
'I did not test the code here, but this should work for non selected rows:
dim row() as string = tw.items.get(0)
row(0) = textfield1.text
'This is part is necessary for the tw to redraw itself (not reloading)
tw.setcolumnvisible(0,false)
tw.setcolumnvisible(0,true)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.