0

I have create custom button Details which needs to redirect me on page depends of selected row.


.navButtonAdd('#resourcePager',
{ caption: "Details", buttonicon: "ui-icon-document", onClickButton: function (id) { alert("/ResourceManager/Details/" + id); }, position: "first" } )

But I can not see "id" parameter in alert. Does anyone have an idea how I can post parameter from grid on navButtonAdd?

GBPackers
  • 3
  • 1
  • 3

1 Answers1

1

Look at the answer. It seems to me that it will answer on your question. You should of course modify the code depend on how you want to make "redirecting" to the page which you need.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798