Datagrid - get input field data
Posted: Wed Feb 16, 2011 3:22 pm
Hi there,
Currently learning and following the datgrid Rev lesson online (great stuff thanks !) I still wondering how to use a standard input txt field in a datagrid. (Dont want to use the built-in "Allow text editing" or "Row highlite feature"). Well I think that using datagrid to manage forms with standard components (txt inputs, checkboxes etc) seems easier to design that using a UI grp with the same components.
You can see a UI example of my test stack to make it clear : (www) philmeurope (com) /downloads/Datagrid_forms_inputFields.png
Even after the interesting "Checkbox usage in datagrid" example, I cannot find a solution to update the datagrid array once an input field has been modified. The way to update the datagrid values using the checkbox is based on a on mouseDoubleUp pMouseBtnNum button Even but i can't use this for my input fields cause you need to click it (or tab navigate it) then type your content in it and finally the datagrid data should refresh (once you leave the field, unfocus?).
Well not sure of the different ways to investigate this one, any ideas are welcomed
Many thanks
Thierry
Currently learning and following the datgrid Rev lesson online (great stuff thanks !) I still wondering how to use a standard input txt field in a datagrid. (Dont want to use the built-in "Allow text editing" or "Row highlite feature"). Well I think that using datagrid to manage forms with standard components (txt inputs, checkboxes etc) seems easier to design that using a UI grp with the same components.
You can see a UI example of my test stack to make it clear : (www) philmeurope (com) /downloads/Datagrid_forms_inputFields.png
Even after the interesting "Checkbox usage in datagrid" example, I cannot find a solution to update the datagrid array once an input field has been modified. The way to update the datagrid values using the checkbox is based on a on mouseDoubleUp pMouseBtnNum button Even but i can't use this for my input fields cause you need to click it (or tab navigate it) then type your content in it and finally the datagrid data should refresh (once you leave the field, unfocus?).
Well not sure of the different ways to investigate this one, any ideas are welcomed

Many thanks
Thierry