@chips
@chips
Forum Replies Created
-
AuthorPosts
-
February 9, 2021 at 10:17 am in reply to: with batch:true how can access to data.fields in news rows #101462chipsMember
Hi admin,
the updated array is fine.
My Issue is about added array returned by getBatchEditChanges() :
{
added:[{id:undefined,data:”54908271-03c9-a70c-8a21-e32e9d4f62b7″},
{id:undefined,data:”0cc156df-4da0-c7af-4adf-2ca40c21ea74″},
..
],
deleted:[],
updated:[{…},{…},..]
added array have object {id:undefined,data:”54908271-03c9-a70c-8a21-e32e9d4f62b7″} .
I would like to know how to access the content of eg: data:”54908271-03c9-a70c-8a21-e32e9d4f62b7″ since as the added row is not yet saved it cannot be accessed by grid.rows
Best Regards
February 8, 2021 at 7:18 pm in reply to: with batch:true how can access to data.fields in news rows #101455chipsMemberSorry , the above message. 🙁
Hi,
with the property batch:true
how can access to data.fields in news rows?
the function getBatchEditChanges() return this:
{
added:[{id:undefined,data:”54908271-03c9-a70c-8a21-e32e9d4f62b7″},
{id:undefined,data:”0cc156df-4da0-c7af-4adf-2ca40c21ea74″},
..
],
deleted:[],
updated:[{…},{…},..]
}
how can you read the values of the fields in data object?chipsMemberHi Yavor Dashev,
I don’t think there’s any need to go through with this thread.
I found the cause of the problem. It produced this because I was using the smart.grid in a window of another library (kendo).
Thanks your support!!.chipsMemberIn my case the solution is call to stopPropagation() in the events (“mouseover”,”mouseout”,”mousedown”,”click”,”dblclick”) of mouse in the grid
It seems some kind of incompatibility with Jquery….?? -
AuthorPosts