phpGrid get cell value in javascript

Code snippet for validating a phpGrid column in javascript of a multi-select Grid.
For example in order select orders from grid to dispatch,
one would validate the order status before dispatching

[code]

<script type="text/javascript">

function ShowSelectedRows()

{

var rowid = getSelRows();

var grid = jQuery(‘#gridname’);

var orderStatus = grid.getCell(rowid, ‘orderStatus’);

alert(orderStatus);

}

[/code]

Get Free Email Updates!

Signup now and receive free offers, discounts & coupon codes

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge