Skip to content

Provide default item data to onItemClick handler (was: Why the onItemClick data is null) #171

Open
@ideallorn

Description

@ideallorn

I just download the latest codes and add one line code to onItemClick() of index.html
alert("Item clicked - show some details");
alert("data = " + data);

then I click the item, the "Item clicked - show some details" showed, and then showed "data = null".
Does any body knows why? Many thanks.

BTW, if I added two lines to onAddClick()
alert("dt = " + dt);
alert("rowId = "+ rowId);

dt = 13248000000 shows, but the second alerts shows "rowId = undefined".

Many thanks.
Dan

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions