Hi Mohamed Kacem,
Bind to the
Grid’s
cellclick event. By using the event arguments, you can get the value of the cell.
$("#jqxGrid").on("cellclick", function (event)
{
// event arguments.
var args = event.args;
// row's bound index.
var rowBoundIndex = args.rowindex;
// row's visible index.
var rowVisibleIndex = args.visibleindex;
// right click.
var rightclick = args.rightclick;
// original event.
var ev = args.originalEvent;
// column index.
var columnindex = args.columnindex;
// column data field.
var dataField = args.datafield;
// cell value
var value = args.value;
});
Then, using jQuery, select the INPUT tag and use a syntax like:
$("#inputID").val(value);
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/