Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Editable Cell
posted

Morning,

 is it posible to have a cell as a text box so its obvious to the users that it is a editable field, i also want it so that you select the cell it automatically goes into edit mode but if you double click on the row it will go into row edit mode.

 

 any ideas?

 regards

Ben

Parents
No Data
Reply
  • 14049
    Offline posted
    Hi Ben,

    It's not so trivial, if at all possible, to style a column so the cells
    look like edit boxes. I am guessing you wouldn't want to use a template
    for this column. May I suggest that you use a slightly different
    background color so your users know it is an editable column?

    For the ways how to enter edit mode you can use
    DisplayLayout.CellClickActionDefault, client side events MouseDown
    (MouseUp) and DblClick, or a combination of these.
    For example try setting cellclickaction to edit and then handle the
    dblclick event and retrieve a row from the clicked element then call
    row.editRow();
    Or handle don't use cellclickaction and handle both mousedown and
    dblclick and enter a cell into edit mode in one and a row in the other.

    Hope this helps.
Children
No Data