or
$("#grid").kendoGrid({ dataSource : dataSource, selectable : "row", pageable : true, sortable : { mode : "multiple", allowUnsort : true }, height : 600, rowTemplate : kendo.template($("#rowTemplate").html()), altRowTemplate : kendo.template($("#rowTemplateAlt").html()), filterable : true, columns : [{ width : "100px", title : "Foto", field : "foto", filterable : false }, { title : "Nombre", field : "nombre", filterable: { extra: false, //do not show extra filters operators: { // redefine the string operators string: { contains: "Contiene" } } } }, { title : "Apellidos", field : "apellidos", filterable: { extra: false, //do not show extra filters operators: { // redefine the string operators string: { contains: "Contiene" } } } }, { title : "Edad", field : "edad", filterable : true, filterable: { extra: true, //show extra filters operators: { // redefine the string operators number: { lt: "menor de", gt: "mayor de" } } } }, { title : "Idioma", field : "idioma", filterable : true, filterable: { extra: false, //do not show extra filters operators: { // redefine the string operators string: { contains: "Contiene" } } } }, { title : "Categorias", field : "categorias", filterable : true, filterable: { extra: false, //do not show extra filters operators: { // redefine the string operators string: { contains: "Contiene" } } } }, { title : "Telefono", field : "telmovil", filterable : true, filterable: { extra: false, //do not show extra filters operators: { // redefine the string operators string: { contains: "Contiene" } } } }, { title : "Acciones", filterable : false }] })
if ( expressions.filters.length == 2){ if ( expressions.filters[1].value == "undefined" ){ expressions.filters.pop(); } }<div id="container"> <div id="top"></div> <div id="middle"></div> <div id="bottom"></div></div><a id="remove">remove bottom panel</a>$(document).ready(function(){ $('#container').kendoSplitter({ orientation: 'vertical', panes: [{},{},{}] }); $('a#remove').click(function(e){ e.preventDefault(); $('#container').data('kendoSplitter').removePanel('#bottom'); });});
$('a[href=#top]').click(function () { $('html, body').animate({ scrollTop: 0 }, 'slow'); return false; });