rstaib / jquery-bootgrid

Nice, sleek and intuitive. A grid control especially designed for bootstrap.
http://www.jquery-bootgrid.com
MIT License
973 stars 364 forks source link

How to use styling in bootgrid? #433

Open danteCortes opened 3 years ago

danteCortes commented 3 years ago

var grid = $("#tblVentas").bootgrid({ labels: { all: "todos", infos: "", loading: "Cargando datos...", noResults: "Ningun resultado encontrado", refresh: "Actualizar", search: "Buscar" }, styling: { columnHeaderText: 'text-center' }, ajax: true, post: function (){ return { '_token': $("meta[name='csrf-token']").attr('content'), id: "b0df282a-0d67-40e5-8558-c9e93b7befed" } }, url: "listar-ventas", formatters: { "commands": function(column, row){ return

` } } }).on("loaded.rs.jquery.bootgrid", function(){ /* poner el focus en el input de busqueda */ $("#tblVentas-header > div > div > div.search.form-group > div > input").trigger('focus') });` this does not work, the option styling, as in the documentation.
estebanquito266 commented 2 years ago

In HTML i have a data-column-id ="idproceso" and a data-column-id="link" Using this property, i can define a "Formater" (see: http://www.jquery-bootgrid.com/Documentation#formatters) Then in a Githubissues.

  • Githubissues is a development platform for aggregating issues.