Webgrid filter row

2 replies. Last post: December 7, 2009 1:20 PM by Mark Silka
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Mark SilkaMember

I have a webgrid where I perform the client action OnRowSelected.

But, I cannot use the filter row if I use this method.

How can I both perform the OnRowSelected client method and use the filter row in the same grid?

Here is a copy of my OnRowSelected javascript function.

 

function DoRowSelect(gridId, tblName, rowIndex)

{

var grid = ISGetObject("wbgCustomers"); var row = grid.GetSelectedObject().GetRowObject(); if (row.Type!="FilterRow")

{

var cells = row.GetCells(); var paneManager = ISGetObject("WebPaneManager1"); var pane = paneManager.GetPaneByName("Pane1");

pane.SetContentURL("frmSales_Customer_Edit.aspx?CustomerID="+cells.GetNamedItem("Customer_ID").Text);

}

"frmSales_Customer_Edit.aspx?CustomerID="+cells.GetNamedItem("Customer_ID").Text);

}

return true;

}

 

Thank you,

 

Mark

All times are GMT -5. The time now is 3:40 AM.
Previous Next