jQWidgets Forums

jQuery UI Widgets Forums Grid Editable cells and button in Grid

This topic contains 6 replies, has 3 voices, and was last updated by  stuartsimon 9 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Editable cells and button in Grid #72639

    ioana
    Participant

    Hi jqWidgets Team,

    in our grid implementation we have editable cells and buttons.

    Scenario:
    1. user changes a value in one editable cell
    2. user click with the mouse on a button.

    Result:
    – the onclick event for the button is not triggered.

    Probably because the cell is still in edit mode, but I would expect the cell to loose the focus when another element is focused.
    The jsfiddle: https://jsfiddle.net/ioana_v/4zs0d2cg/7/

    Important, I can not set the celltype to ‘button’.
    Is there any way to fix this?

    Regards,
    Ioana

    Editable cells and button in Grid #72641

    Peter Stoev
    Keymaster

    Hi Ioana,

    You can use Buttons in jqxGrid only if the columntype is “button”.

    Regards,
    Peter Stoev

    Editable cells and button in Grid #72645

    ioana
    Participant

    Hi Peter,

    from http://www.jqwidgets.com/custom-grid-cells-rendering/ I understand something else. Am I missing something?

    Regards,
    Ioana

    Editable cells and button in Grid #72646

    Peter Stoev
    Keymaster

    Hi Ioana,

    Posting Blogs from 2011 does not mean that these are actual or updated or supported. If you wish, look at the Demos page and Documentation to see what’s available.

    Regards,
    Peter Stoev

    Editable cells and button in Grid #72647

    ioana
    Participant

    Hi Peter,

    so features are dropped between the versions? Is this documented in migration notes?
    There is no information on this page that this is no longer supported, no version is specified either.

    Regards,
    Ioana

    Editable cells and button in Grid #72649

    Peter Stoev
    Keymaster

    Hi Ioana,

    I wrote you what you should look for – Demos & Documentation. Blogs, posted 4 years ago are not updated. If you want to display Buttons, use the Button column type. There are no other options available.

    Regards,
    Peter Stoev

    Editable cells and button in Grid #79994

    stuartsimon
    Participant

    Peter:
    What you are mentioning is missing COMPLETELY from the documentation. This may be due to the cross-website update that took place last week. Is the columntype of button still supported? Is the “buttonclick” property still the event that is attached to the button’s “onclick” event? Is the parameter the row or its index?

    Regards,
    Stuart

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.