You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
} } }).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.
The text was updated successfully, but these errors were encountered:
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 <script> I define an instance of the formater
In the column named "link" insert a link to edit/view and in the column named "idproceso" insert a simple badge to a datta.
It's important to see how reference the column's data via "row.[name_of_column]". In my example for data of column named "idproceso" i access the data vía row.idproceso
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.
The text was updated successfully, but these errors were encountered: