List in grid - how to know when value selected and updated?
I am making some changes to a web site which uses an AW grid.
I am not familiar with AW but have been going through this website to try and learn how to make the required changes.
The changes required are:
There is a display only grid on a page. I need to make it so that one of the cells can be editable using a list box. When this list box is changed I need to write the changed data back to the database.
So far I have figured out how to put the list box on the grid and populate it with possible values and get the current value from the database.
My questions are:
1) Can someone give me some sample code or point me to a link on how to write back the data when the list box is changed or at least tell me what the event syntax would be?
2) How can I change the size of the list box so that it contains the possible values and is not so big?
3) How can I make it so that grid rows cannot be selected? I tried adding obj.setAction("selectRow", null); and obj.setEvent("onkeydown", null); but the setAction causes the grid not to be displayed at all.
Thanks!
I am not familiar with AW but have been going through this website to try and learn how to make the required changes.
The changes required are:
There is a display only grid on a page. I need to make it so that one of the cells can be editable using a list box. When this list box is changed I need to write the changed data back to the database.
So far I have figured out how to put the list box on the grid and populate it with possible values and get the current value from the database.
My questions are:
1) Can someone give me some sample code or point me to a link on how to write back the data when the list box is changed or at least tell me what the event syntax would be?
2) How can I change the size of the list box so that it contains the possible values and is not so big?
3) How can I make it so that grid rows cannot be selected? I tried adding obj.setAction("selectRow", null); and obj.setEvent("onkeydown", null); but the setAction causes the grid not to be displayed at all.
Thanks!
John
February 28,