Provide default item data to onItemClick
handler (was: Why the onItemClick data is null)
#171
Labels
onItemClick
handler (was: Why the onItemClick data is null)
#171
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
The text was updated successfully, but these errors were encountered: