Index: lams_admin/web/orgPasswordChange.jsp
===================================================================
diff -u -ra031d818f691be81b838500d20f61a17f257e7f9 -r0e955e705ea94a190c4ebaff89c8498ee795d612
--- lams_admin/web/orgPasswordChange.jsp	(.../orgPasswordChange.jsp)	(revision a031d818f691be81b838500d20f61a17f257e7f9)
+++ lams_admin/web/orgPasswordChange.jsp	(.../orgPasswordChange.jsp)	(revision 0e955e705ea94a190c4ebaff89c8498ee795d612)
@@ -33,8 +33,19 @@
 		border-right: thin solid black;
 		padding-right: 50px;
 	}
+	
+	.jqgh_cbox {
+		visibility: hidden;
+	}
+	
+	.ui-jqgrid-btable tr[role="row"] {
+		cursor: pointer;	
+	}
+	
+	.ui-jqgrid-btable tr.success > td {
+		background-color: transparent !important;
+	}
 
-<%-- javascript --%>
 
 
 
@@ -44,7 +55,9 @@
      var mustHaveUppercase = ${mustHaveUppercase},
 	     mustHaveNumerics  = ${mustHaveNumerics},
 	     mustHaveLowercase  = ${mustHaveLowercase},
-	     mustHaveSymbols   = ${mustHaveSymbols};
+	     mustHaveSymbols   = ${mustHaveSymbols},
+	     excludedLearners = JSON.parse(""),
+	     excludedStaff = JSON.parse("");
 
      $.validator.addMethod("pwcheck", function(value) {
 	      return (!mustHaveUppercase || /[A-Z]/.test(value)) && // has uppercase letters 
@@ -147,7 +160,7 @@
 			    sortorder		   : "asc", 
 			    sortname		   : "firstName", 
 			    pager			   : true,
-			    rowNum			   : 10,
+			    rowNum			   : 3,
 				colNames : [
 					'',
 					'',
@@ -170,6 +183,34 @@
 					   'title' : false
 					}
 			    ],
+			    onSelectRow : function(id, status, event) {
+				    var grid = $(this),
+						excluded = grid.data('excluded'),
+						index = excluded.indexOf(+id);
+					// if row is deselected, add it to excluded array
+					if (index < 0) {
+						if (!status) {
+							excluded.push(+id);
+						}
+					} else if (status) {
+						excluded.splice(index, 1);
+					}
+				},
+				gridComplete : function(){
+					var grid = $(this),
+						// get excludedLearners or excludedStaff
+						excluded = grid.data('excluded');
+					// go through each loaded row
+					$('[role="row"]', grid).each(function(){
+						var id = +$(this).attr('id'),
+							selected = $(this).hasClass('success');
+						// if row is not selected and is not excluded, select it
+						if (!selected && !excluded.includes(id)) {
+							// select without triggering onSelectRow
+							grid.jqGrid('setSelection', id, false);
+						}
+					});
+				},
 			    loadError : function(xhr,st,err) {
 			    	$.jgrid.info_dialog('', 
 	    					'',
@@ -178,9 +219,9 @@
 		};
 		
 		jqGridSettings.url = jqGridURL + 'learner'
-		$("#learnerGrid").jqGrid(jqGridSettings);
+		$("#learnerGrid").data('excluded', excludedLearners).jqGrid(jqGridSettings);
 		jqGridSettings.url = jqGridURL + 'staff'
-		$("#staffGrid").jqGrid(jqGridSettings);
+		$("#staffGrid").data('excluded', excludedStaff).jqGrid(jqGridSettings);
 
 	});