changed code to use jqxGrid