Eventos para grid

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Eventos para grid

Post by luisvasquezcl »

Estimado Roberto,
El control grid se ha convertido en una herramienta fundamental en nuestras aplicaciones con bases de datos y es por esto que te agradecería que evaluaras la posibilidad de agregar algunos eventos al grid que son:

1. Un evento que permita conocer cuando el usuario presione la tecla escape cuando está editando una celda.
Situación actual: el grid al entrar en edición de una celda al presionar escape no devuelve nada y no podemos hacer nada si se presiona escape.
Pudiendo ejecutar alguna función cuando el usuario presione escape me permitiría vaciar las celdas en caso que haya editado una nueva linea.
El evento que pensaba podria ser descriptivo seria On Cancel -> (bAction).

2. Controlar que la edición de las celdas comience desde la columna que uno requiera
Situación actual: si el usuario cancela la edición con escape, al volver a editar comienza desde la celda donde quedó.
La idea es poder indicarle al grid que siempre inicie desde una columna determinada, por ejemplo desde la columna 1, para que en caso que el usuario haya cancelado la edición en la columna 3, al volver a editar la linea comience desde donde uno le indique y no desde donde quedó.

3.Control de edición con doble click.
Situación actual : al hacerle doble click sobre una celda la edita y al presionar enter sale y no continúa con la edición del resto de las celdas.
Sería interesante que al hacer doble click con el mouse entrara en la función _HMG_GRIDINPLACEKBDEDIT y asi editar todas las celdas de la fila.
Tambien serviría habilitar o deshabilitar la edición con el mouse.

Agradeciendo como siempre tu esfuerzo y compromiso se despide cordialmente,
Luis Vásquez.

Dear Roberto,
The grid control has become an essential tool in our applications with databases and that is why you would like to assess the possibility of adding some events to the grid are:

1. An event to ascertain when the user presses the Escape key when you edit a cell.
Current status: the grid to enter edit a cell by pressing escape does not return anything and we can not do anything if you press escape.
May perform some function when the user presses escape, I would empty the cells where it has released a new line.
The event that we thought might be serious descriptive On Cancel -> (bAction).

2. Make sure that the editing of the cells start from the column requires a
Current situation: if the user cancels editing with exhaust begins to re-edit from the cell where he was.
The idea is to tell the grid that always boot from a column, for example from column 1, so that if the user has canceled editing in column 3, to re-edit the line starting from where you indicate and not from where it was.

3. edit control with a double click.
Current situation: to make double click on the edit a cell and pressing enter and leave the issue does not continue with the rest of the cells.
It would be interesting that when you double click with the mouse to enter the edit function _HMG_GRIDINPLACEKBDEDIT and thus all cells in the row.
It would also enable or disable editing with the mouse.

Grateful as always your effort and commitment warm farewell,
Luis Vasquez.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Eventos para grid

Post by Roberto Lopez »

luisvasquezcl wrote:Estimado Roberto,
El control grid se ha convertido en una herramienta fundamental en nuestras aplicaciones con bases de datos y es por esto que te agradecería que evaluaras la posibilidad de agregar algunos eventos al grid que son:

1. Un evento que permita conocer cuando el usuario presione la tecla escape cuando está editando una celda.
Situación actual: el grid al entrar en edición de una celda al presionar escape no devuelve nada y no podemos hacer nada si se presiona escape.
Pudiendo ejecutar alguna función cuando el usuario presione escape me permitiría vaciar las celdas en caso que haya editado una nueva linea.
El evento que pensaba podria ser descriptivo seria On Cancel -> (bAction).

2. Controlar que la edición de las celdas comience desde la columna que uno requiera
Situación actual: si el usuario cancela la edición con escape, al volver a editar comienza desde la celda donde quedó.
La idea es poder indicarle al grid que siempre inicie desde una columna determinada, por ejemplo desde la columna 1, para que en caso que el usuario haya cancelado la edición en la columna 3, al volver a editar la linea comience desde donde uno le indique y no desde donde quedó.

3.Control de edición con doble click.
Situación actual : al hacerle doble click sobre una celda la edita y al presionar enter sale y no continúa con la edición del resto de las celdas.
Sería interesante que al hacer doble click con el mouse entrara en la función _HMG_GRIDINPLACEKBDEDIT y asi editar todas las celdas de la fila.
Tambien serviría habilitar o deshabilitar la edición con el mouse.

Agradeciendo como siempre tu esfuerzo y compromiso se despide cordialmente,
Luis Vásquez.

Dear Roberto,
The grid control has become an essential tool in our applications with databases and that is why you would like to assess the possibility of adding some events to the grid are:

1. An event to ascertain when the user presses the Escape key when you edit a cell.
Current status: the grid to enter edit a cell by pressing escape does not return anything and we can not do anything if you press escape.
May perform some function when the user presses escape, I would empty the cells where it has released a new line.
The event that we thought might be serious descriptive On Cancel -> (bAction).

2. Make sure that the editing of the cells start from the column requires a
Current situation: if the user cancels editing with exhaust begins to re-edit from the cell where he was.
The idea is to tell the grid that always boot from a column, for example from column 1, so that if the user has canceled editing in column 3, to re-edit the line starting from where you indicate and not from where it was.

3. edit control with a double click.
Current situation: to make double click on the edit a cell and pressing enter and leave the issue does not continue with the rest of the cells.
It would be interesting that when you double click with the mouse to enter the edit function _HMG_GRIDINPLACEKBDEDIT and thus all cells in the row.
It would also enable or disable editing with the mouse.

Grateful as always your effort and commitment warm farewell,
Luis Vasquez.

Thanks for your suggestions.

I'll consider for future Grid enhancements.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply