You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/grid/rows/accessing-cells-and-rows.md
+106-1Lines changed: 106 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,112 @@ Read more in the [Batch editing mode]({%slug grid/data-editing/edit-mode/batch-e
339
339
340
340
## Accessing Cells and Values in Client-Side Code
341
341
342
-
Once you have a reference to the client-side object of a **GridDataItem**, there are several ways to access its cell values.
342
+
Once you have a reference to the client-side object of a **GridDataItem**, there are several ways to access its cell values. There are several ways to get a reference to the grid data item object.
343
+
344
+
>caption How to access the data item object by traversing the DOM:
345
+
346
+
347
+
````JavaScript
348
+
functiongetDataClientSide(btn) {
349
+
var $ =$telerik.$;//or use other jQuery
350
+
351
+
//get the DOM object of the grid row - the <tr> element
0 commit comments