Widget:LinkToRow

/*<![CDATA[*/ $(function { var mo, tr;  var hash = window.location.hash;  var id = '';  if (id) {    if (hash.indexOf(id + '-R') === 1) {      mo = /-R(\d+)$/.exec(hash);      if (mo.length === 2) {        tr = $('#' + id).find('tr').get(mo[1]);        if (tr) {          tr.scrollIntoView(true);        }      }    }    $('#' + id).on('click', 'tr', function(e) { hash = '#' + encodeURIComponent(id) + '-R' + $(this).prop('rowIndex'); window.location.hash = hash; }); } }); /*]]>*/   Provide location hash to make rows of a named table addressable by URL.

Parameter

 * id:DOM id of table (must be unique on the page)