Posts by andervoc • 117 points
13 posts
-
-2
votes2
answers1992
viewsA: Organize information in alphabetical order - Html/Javascript or Wordpress
This is a sort form for javascript array. var items = [ { name: 'Edward', value: 21 }, { name: 'Sharpe', value: 37 }, { name: 'And', value: 45 }, { name: 'The', value: -12 }, { name: 'Magnetic' }, {…
-
1
votes1
answer271
viewsA: State Machine with Angularjs
Change: fsm.transition(); For: this.transition();…
-
0
votes3
answers1208
viewsA: How to use ng-class conditional in Angularjs?
<div ng-controller="SeguirUser" ng-init="seguir_user='Seguir'" ng-click="seguir({{seguidores.id}})" ng-class="{'seguir_user': seguindo == 'false', seguir_user_class: seguindo== 'true'}"…
-
0
votes1
answer56
viewsA: Bower at Visual Studio 2015
Try this extension: Package of Intellisense I tested it on my computer and it worked.…
-
3
votes1
answer1210
viewsA: Problems with dropdown menu with bootstrap
It is sufficient to make the following amendment: <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Adding the attribute data-toggle="dropdown"…
-
1
votes3
answers13356
viewsA: How to fix the position of an element inside a div with scroll( With css )
I would change your css by adding this code to the class conteudoNormal. .conteudoNormal{ overflow:auto; height:200px; } And leave the class divContainer thus: .divContainer { width:300px;…
-
0
votes2
answers2986
viewsA: Select a table that simulates a tree
From what I understand you that only those who have levels return. If that’s it just add AND c2.level > 0 in consultation. WITH tree (id, parentid, level, name , rn) as ( SELECT id, parentid, 0…
sql-serveranswered andervoc 117 -
1
votes1
answer979
views -
0
votes2
answers231
viewsA: What annotation is used in Ormlite mapping for Enum as Foreign?
According to the Ormlite documentation it would look like this: @DatabaseTable(tableName = "cliente") public class Cliente{ @DatabaseField(generateId = true) private Long id; @DatabaseField private…
-
1
votes1
answer47
viewsA: localdb usage with team Foundation server
Create a database-specific project, in the 2010 or newer version of Visual Studio features Database SQL Server project templates, where you can maintain it through the team Fundation server. I hope…
-
1
votes2
answers275
viewsA: Dar height and overflow-y in a div
Try to change from heigth to max-heigth, so you’ll have more flexibility and responsiveness in modal: <div id="divListaEstabs" style="max-height: 10em; overflow-y: scroll;"> <input…
-
1
votes1
answer844
viewsA: Data does not appear in datagridview, even if it is a populated datasource, why?
Try calling the grid Databind after setting the Datatable: dgvCPF.DataSource = DtAux dgvCPF.DataBind()
-
0
votes1
answer2082
viewsA: How to pass parameters by Angularjs providers?
app.config(['$routeProvider', '$logProvider', function ($routeProvider, $logProvider) { // Configuração de rotas $routeProvider .when('/page/:ID', { templateUrl: 'App/Views/page.html', controller:…