This is a migrated thread and some comments may be shown as answers.

How to transfer parameters from a kendo grid

0 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fif
Top achievements
Rank 1
Fif asked on 30 Oct 2012, 02:46 PM
Hellow,
I'm new using of Kendo UI and I have a problem when I wanna transfer parameters from a click on the text in the row of the Kendo grid. Well, I don't really know to explain (I'm french ^^').
What I would like is :
   I have a kendo grid with a template column. When I click on a lign of this column, I want the grid to recup few parameter and put them into the url to redirect me on another page where is a new kendo grid which display informations relative at the lign selected before.

Below a part of my code :
$("#grid").kendoGrid({
              dataSource: dS,
                columns: [{ title: "Copropriété", field: "Lib", template: "<a href='HistoriqueCompte.html'> ${Lib} <a/> " },
                          { title: "Agence", field: "RaisonSocialeLicence" },
                          { title: "Solde", field: "Solde" }]
            });

Do you have any idea about what I have to do to get what I want ?

EDIT Fif' : SOLUTION
"<a href='HistoriqueCompte.html?CodeCopro=${CodeCopro}&IndGmcCopro=${IndGmcCopro}&IdAgence=${IdAgence}' >${Lib}<a/> " }

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Fif
Top achievements
Rank 1
Share this question
or