This question is locked. New answers and comments are not allowed.
Hi
i have a datagrid as below
i want to add a rowAction beahvior that when i click in the row , a popup window appears containing a google map with marker according to longitude and latitude of row selected.
actually i don't konw how to pass the longitude and latitude of a row to the window.
nb: i'm using client side API.
i have a datagrid as below
@(Html.Telerik().Grid(Model) .Name("Grid").Localizable("fr-FR") .DataBinding(dataBinding => dataBinding.Ajax().Select("IndexAjax", "PointsCoupures")).Columns(columns => { columns.Bound(o => o.Id).Width(100); columns.Bound(o => o.input_status); columns.Bound(o => o.LatitudeDecimal).Title("Longitude"); columns.Bound(o => o.LongitudeDecimal).Title("Latitude"); })
.ClientEvents(events => events.OnRowSelect("onRowSelected"))
.RowAction(row =>
{
row.Selected = row.DataItem.CustomerID.Equals(ViewData["Id"]);
})
i want to add a rowAction beahvior that when i click in the row , a popup window appears containing a google map with marker according to longitude and latitude of row selected.
actually i don't konw how to pass the longitude and latitude of a row to the window.
nb: i'm using client side API.