I'm working on a system that requires paging of data, but first I'd like to sort the json I get in the order of user names.
JSON is in the format:
[["22","Aiolinhos","23","[email protected]","Administradores","SIM"],["20","Aiorinhos","...
I'm trying to form a JSON with what is selected by checkbox , but when I select it it inserts, but when I try to get check , it reinserts. The correct would work this way , but forming a array of JSON and not just words or numbers....
Is there any way to know if the grid has finished updating lines, or even if it has finished loading them?
I tried to do it this way:
$scope.gridApi.core.on.filterChanged($scope, function() {
console.log('filter changed');
$timeout(...
My delete does not work when registering a new category:
The form does not clear the fields, what can it be?
JS:
app.controller('categoriasCtrl', function ($scope, $http) {
$scope.categorias = [
{id: 10, nome: 'Categoria teste 2', at...
Inside Factory has a variable countF with value 1:
Factory
app.factory('testFactory', function(){
var countF = 1;
return {
getCount : function () {
return countF;
},
incrementCount:functio...
I have a side menu:
Iwouldliketoputabuttontohideandshowthismenu,andthatwhenIdecreasetheresolutionappearsthisbuttonsothatIcandisplayit.HTML:<divid="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<ul class=...
I'm having trouble with an object in Node.Js with Express.Js.
It is reporting the following error.
Error: Route.get() requires callback functions but got a [object Undefined]
at C:\contatooh\node_modules\express\lib\router\route.js:162:...
When changing an angle route, I would like to preserve the cache of an iframe that has been read and rendered:
$scope.loading_guten_pro = false;
$scope.url_pro = '/acesso-pro';
$scope.iframePro = function() {
$scope.loading_guten_pro = t...
Good morning guys!
I'm having trouble passing an array to an md-dialog.
Clicking on an edit button sends the array that is in the $ scope via locals to the md-dialog's controller so that I can change the data and save it. But the problem i...
I need to loop through a select element on a HTML page by putting the option elements inside it. The problem is that in the attribute value of these option should receive the identifiers coming from the databas...