jQuery('#grid').jqGrid({"width":700,"hoverrows":true,"viewrecords":true,"jsonReader":{"repeatitems":false,"subgrid":{"repeatitems":false}},"xmlReader":{"repeatitems":false,"subgrid":{"repeatitems":false}},"gridview":true,"url":"/index.php?option=com_obsuser&task=project.entitygrid&format=raw&lang=es","editurl":"/index.php?option=com_obsuser&task=project.entitygrid&format=raw&lang=es","cellurl":"/index.php?option=com_obsuser&task=project.entitygrid&format=raw&lang=es","ignoreCase":true,"footerrow":true,"userDataOnFooter":true,"headerTitles":true,"autowidth":true,"forceFit":true,"shrinkToFit":true,"altRows":false,"height":"auto","rowNum":20,"rowList":[20,30],"sortname":"IdEntity","datatype":"json","colModel":[{"name":"IdEntity","index":"IdEntity","editable":true,"sorttype":"int","key":true,"label":"Id","width":"50","fixed":true},{"name":"CompanyName","index":"CompanyName","editable":true,"sorttype":"string","label":"R. Social","width":"150","fixed":false},{"name":"CountProject","index":"CountProject","editable":true,"sorttype":"int","label":"Num.Part.","width":"100","fixed":true,"align":"right","formatter":"number","formatoptions":{"decimalSeparator":".","decimalPlaces":0}},{"name":"SumFunding","index":"SumFunding","editable":true,"sorttype":"numeric","label":"Finan. Individual","width":"120","fixed":false,"align":"right","formatter":"number","formatoptions":{"decimalSeparator":".","decimalPlaces":0}},{"name":"SumCDTIFunding","index":"SumCDTIFunding","editable":true,"sorttype":"numeric","label":"Finan. Bruselas","width":"150","fixed":false,"align":"right","formatter":"number","formatoptions":{"decimalSeparator":".","decimalPlaces":0}},{"name":"SumBudget","index":"SumBudget","editable":true,"sorttype":"numeric","label":"Presupuesto","width":"120","fixed":false,"align":"right","formatter":"number","formatoptions":{"decimalSeparator":".","decimalPlaces":0}}],"postData":{"oper":"grid"},"prmNames":{"page":"page","rows":"rows","sort":"sidx","order":"sord","search":"_search","nd":"nd","id":false,"filter":"filters","searchField":"searchField","searchOper":"searchOper","searchString":"searchString","oper":"oper","query":"grid","addoper":"add","editoper":"edit","deloper":"del","excel":"excel","subgrid":"subgrid","totalrows":"totalrows","autocomplete":"autocmpl"},"pager":"#pager"});jQuery('#grid').jqGrid('navGrid','#pager',{"edit":false,"add":false,"del":false,"search":true,"refresh":true,"view":false,"excel":true,"pdf":false,"csv":false,"columns":false},{"drag":true,"resize":true,"closeOnEscape":true,"dataheight":150,"mtype":"POST"},{"drag":true,"resize":true,"closeOnEscape":true,"dataheight":150,"mtype":"POST"},{"mtype":"POST"},{"drag":true,"closeAfterSearch":true,"multipleSearch":true},{"drag":true,"resize":true,"closeOnEscape":true,"dataheight":150});jQuery('#grid').jqGrid('navButtonAdd','#pager',{id:'_excel', caption:'',title:'Export To Excel',onClickButton : function(e) { try { jQuery("#grid").jqGrid('excelExport',{tag:'excel', url:'/index.php?option=com_obsuser&task=project.entitygrid&format=raw&lang=es'}); } catch (e) { window.location= '/index.php?option=com_obsuser&task=project.entitygrid&format=raw&lang=es?oper=excel'; } },buttonicon:'ui-icon-newwin'});jQuery('#grid').jqGrid('filterToolbar',{"stringResult":true});