AngularJS - Move location of button to under column headerAngularJS $location not changing the pathHow to dynamically change header based on AngularJS partial view?AngularJS - Binding radio buttons to models with boolean valuesAngularJS ng-table fixed headersAngularJS filter with jQuery event not workingAngular JS filter ng-repeat with field AND dropdownHow to pass a selected row data to bootstrap modalIs it possible to attach a promise to a click eventStrange behanvior on button-click event in AngularJsView not updating in AngularJS

Compiling all Exception messages into a string

Discworld quote about an "old couple" who having said everything to each other, can finally go about living their lives

My colleague is constantly blaming me for his errors

Why can't you move another user's directory when you can move their file?

How can I open this door latch with the knobs removed?

Why did the Apple //e make a hideous noise if you inserted the disk upside down?

Are Valenar elves and Aereni elves different races of elves?

On what to compliment someone with anorexia in order to improve their body image?

Could you fall off a planet if it was being accelerated by engines?

pgfmath does not work

Sharing referee/AE report online to point out a grievous error in refereeing

Why was Pan Am Flight 103 flying over Lockerbie?

Android Studio 3.6 canary 6 - Gradle throwing DefaultProjectSyncIssues exception

Cooking a nice pan seared steak for picky eaters

Active wildlife outside the window- Good or Bad for Cat psychology?

How to describe POV characters?

Making a wall made from glass bricks

13th chords on guitar

Why were the first airplanes "backwards"?

List Manipulation : a,b,c,d,e,f,g,h into a,b,c,d,e,f,g,h

How did Lefschetz do mathematics without hands?

What is an acid trap

if a USA citizen marries a foreign citizen who has kid from previous marriage

Having to constantly redo everything because I don't know how to do it?



AngularJS - Move location of button to under column header


AngularJS $location not changing the pathHow to dynamically change header based on AngularJS partial view?AngularJS - Binding radio buttons to models with boolean valuesAngularJS ng-table fixed headersAngularJS filter with jQuery event not workingAngular JS filter ng-repeat with field AND dropdownHow to pass a selected row data to bootstrap modalIs it possible to attach a promise to a click eventStrange behanvior on button-click event in AngularJsView not updating in AngularJS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















An issue with the location of my button thought it was straight forward but keep misplacing it. I would like it to be here, however as shown in the image that doesn't seem to be the case.



enter image description here



I've looked online currently but can't seem to find one that is relevant, although perhaps I'm not looking hard enough.



AngularJS:



app.controller('ClientsDetailsEditCtrl', function ($scope, $log, $uibModalInstance, $http, SpringDataRestService, row, onComplete) 
$scope.alerts = [];
$scope.onComplete = onComplete;

// If row is provided, gather up existing data entry for binding
if (row)
SpringDataRestService.get(

"resource": "clientsInternal",
"id": row
,
function (response) // Success Function - we have a copy of this client
// Transform URIs into IDs etc for rendering
if (response.type === "SUBSCRIBER")
$http(
method: 'GET',
url: response._links.vendorClient.href
).then(function successCallback(response)
// this callback will be called asynchronously
// when the response is available
$scope.targetEntity.vendorClient = response.data.id;
);
else
// Find any clients which depend on this one and disable delete if necessary
SpringDataRestService.get(

"vendorClientId": row,
"collection": "clientsInternal",
"resource": "search",
"method": "findActiveClientsByVendorClientId"
,
function (response) // Success Function
if (response._embedded.clientsInternal.length)
$scope.disableDeletionReason = "Cannot delete - " + response._embedded.clients.length + " active client(s) depend on this one."


);

$scope.targetEntity = response;
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

$scope.isNew = false;
else
$scope.isNew = true;
$scope.targetEntity = ;


/*$scope.contactTypeList = [
'id': 1, 'name': 'Reporting'
,
'id': 2, 'name': 'Primary Reporting'
,
'id': 3, 'name': 'Distribution List'
,
'id': 4, 'name': 'Location'
,
'id': 5, 'name': 'Billing'
];
$scope.targetEntity.contactType = $scope.contactTypeList[0].name;*/

// Get list of clients for pulldown menu
$scope.vendorClientList = [];
SpringDataRestService.get(
"collection": "clientsInternal",
function (response) // Success Function
var clients = response._embedded.clientsInternal;
for (var i = 0, len = clients.length; i < len; i++)
if (clients[i].type === "VENDOR")
var newClient = id: clients[i].id, name: clients[i].name;
$scope.vendorClientList.push(newClient);


,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

// Handle event changes in the form to make it more idiot-proof
$scope.handleTypeChange = function (newType)
// Type has changed - blank values where necessary
if (newType === "VENDOR")
// Blank the vendor client pull down menu - no longer relevant
$scope.targetEntity.client = "";

;

// Handle create button event
$scope.handleCreate = function ()
// Got a new or updated object - now try persisting it
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.save(
"collection": "clientsInternal",
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle update button event
$scope.handleUpdate = function ()
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.update(

"collection": "clientsInternal",
"id": $scope.targetEntity.id
,
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle delete button event
$scope.handleDelete = function ()
SpringDataRestService.delete(

"resource": "clientsInternal",
"id": $scope.targetEntity.id
,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle cancel button event
$scope.handleCancel = function ()
$uibModalInstance.dismiss('cancel');
;

);


HTML:



<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>


Code for button:



 <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>


Thanks in advance










share|improve this question
























  • Put the button wherever you are creating that top row instead of inside the ng-repeat.

    – Lex
    Mar 25 at 15:09











  • Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

    – User0110101
    Mar 26 at 11:18


















0















An issue with the location of my button thought it was straight forward but keep misplacing it. I would like it to be here, however as shown in the image that doesn't seem to be the case.



enter image description here



I've looked online currently but can't seem to find one that is relevant, although perhaps I'm not looking hard enough.



AngularJS:



app.controller('ClientsDetailsEditCtrl', function ($scope, $log, $uibModalInstance, $http, SpringDataRestService, row, onComplete) 
$scope.alerts = [];
$scope.onComplete = onComplete;

// If row is provided, gather up existing data entry for binding
if (row)
SpringDataRestService.get(

"resource": "clientsInternal",
"id": row
,
function (response) // Success Function - we have a copy of this client
// Transform URIs into IDs etc for rendering
if (response.type === "SUBSCRIBER")
$http(
method: 'GET',
url: response._links.vendorClient.href
).then(function successCallback(response)
// this callback will be called asynchronously
// when the response is available
$scope.targetEntity.vendorClient = response.data.id;
);
else
// Find any clients which depend on this one and disable delete if necessary
SpringDataRestService.get(

"vendorClientId": row,
"collection": "clientsInternal",
"resource": "search",
"method": "findActiveClientsByVendorClientId"
,
function (response) // Success Function
if (response._embedded.clientsInternal.length)
$scope.disableDeletionReason = "Cannot delete - " + response._embedded.clients.length + " active client(s) depend on this one."


);

$scope.targetEntity = response;
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

$scope.isNew = false;
else
$scope.isNew = true;
$scope.targetEntity = ;


/*$scope.contactTypeList = [
'id': 1, 'name': 'Reporting'
,
'id': 2, 'name': 'Primary Reporting'
,
'id': 3, 'name': 'Distribution List'
,
'id': 4, 'name': 'Location'
,
'id': 5, 'name': 'Billing'
];
$scope.targetEntity.contactType = $scope.contactTypeList[0].name;*/

// Get list of clients for pulldown menu
$scope.vendorClientList = [];
SpringDataRestService.get(
"collection": "clientsInternal",
function (response) // Success Function
var clients = response._embedded.clientsInternal;
for (var i = 0, len = clients.length; i < len; i++)
if (clients[i].type === "VENDOR")
var newClient = id: clients[i].id, name: clients[i].name;
$scope.vendorClientList.push(newClient);


,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

// Handle event changes in the form to make it more idiot-proof
$scope.handleTypeChange = function (newType)
// Type has changed - blank values where necessary
if (newType === "VENDOR")
// Blank the vendor client pull down menu - no longer relevant
$scope.targetEntity.client = "";

;

// Handle create button event
$scope.handleCreate = function ()
// Got a new or updated object - now try persisting it
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.save(
"collection": "clientsInternal",
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle update button event
$scope.handleUpdate = function ()
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.update(

"collection": "clientsInternal",
"id": $scope.targetEntity.id
,
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle delete button event
$scope.handleDelete = function ()
SpringDataRestService.delete(

"resource": "clientsInternal",
"id": $scope.targetEntity.id
,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle cancel button event
$scope.handleCancel = function ()
$uibModalInstance.dismiss('cancel');
;

);


HTML:



<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>


Code for button:



 <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>


Thanks in advance










share|improve this question
























  • Put the button wherever you are creating that top row instead of inside the ng-repeat.

    – Lex
    Mar 25 at 15:09











  • Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

    – User0110101
    Mar 26 at 11:18














0












0








0


0






An issue with the location of my button thought it was straight forward but keep misplacing it. I would like it to be here, however as shown in the image that doesn't seem to be the case.



enter image description here



I've looked online currently but can't seem to find one that is relevant, although perhaps I'm not looking hard enough.



AngularJS:



app.controller('ClientsDetailsEditCtrl', function ($scope, $log, $uibModalInstance, $http, SpringDataRestService, row, onComplete) 
$scope.alerts = [];
$scope.onComplete = onComplete;

// If row is provided, gather up existing data entry for binding
if (row)
SpringDataRestService.get(

"resource": "clientsInternal",
"id": row
,
function (response) // Success Function - we have a copy of this client
// Transform URIs into IDs etc for rendering
if (response.type === "SUBSCRIBER")
$http(
method: 'GET',
url: response._links.vendorClient.href
).then(function successCallback(response)
// this callback will be called asynchronously
// when the response is available
$scope.targetEntity.vendorClient = response.data.id;
);
else
// Find any clients which depend on this one and disable delete if necessary
SpringDataRestService.get(

"vendorClientId": row,
"collection": "clientsInternal",
"resource": "search",
"method": "findActiveClientsByVendorClientId"
,
function (response) // Success Function
if (response._embedded.clientsInternal.length)
$scope.disableDeletionReason = "Cannot delete - " + response._embedded.clients.length + " active client(s) depend on this one."


);

$scope.targetEntity = response;
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

$scope.isNew = false;
else
$scope.isNew = true;
$scope.targetEntity = ;


/*$scope.contactTypeList = [
'id': 1, 'name': 'Reporting'
,
'id': 2, 'name': 'Primary Reporting'
,
'id': 3, 'name': 'Distribution List'
,
'id': 4, 'name': 'Location'
,
'id': 5, 'name': 'Billing'
];
$scope.targetEntity.contactType = $scope.contactTypeList[0].name;*/

// Get list of clients for pulldown menu
$scope.vendorClientList = [];
SpringDataRestService.get(
"collection": "clientsInternal",
function (response) // Success Function
var clients = response._embedded.clientsInternal;
for (var i = 0, len = clients.length; i < len; i++)
if (clients[i].type === "VENDOR")
var newClient = id: clients[i].id, name: clients[i].name;
$scope.vendorClientList.push(newClient);


,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

// Handle event changes in the form to make it more idiot-proof
$scope.handleTypeChange = function (newType)
// Type has changed - blank values where necessary
if (newType === "VENDOR")
// Blank the vendor client pull down menu - no longer relevant
$scope.targetEntity.client = "";

;

// Handle create button event
$scope.handleCreate = function ()
// Got a new or updated object - now try persisting it
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.save(
"collection": "clientsInternal",
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle update button event
$scope.handleUpdate = function ()
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.update(

"collection": "clientsInternal",
"id": $scope.targetEntity.id
,
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle delete button event
$scope.handleDelete = function ()
SpringDataRestService.delete(

"resource": "clientsInternal",
"id": $scope.targetEntity.id
,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle cancel button event
$scope.handleCancel = function ()
$uibModalInstance.dismiss('cancel');
;

);


HTML:



<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>


Code for button:



 <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>


Thanks in advance










share|improve this question
















An issue with the location of my button thought it was straight forward but keep misplacing it. I would like it to be here, however as shown in the image that doesn't seem to be the case.



enter image description here



I've looked online currently but can't seem to find one that is relevant, although perhaps I'm not looking hard enough.



AngularJS:



app.controller('ClientsDetailsEditCtrl', function ($scope, $log, $uibModalInstance, $http, SpringDataRestService, row, onComplete) 
$scope.alerts = [];
$scope.onComplete = onComplete;

// If row is provided, gather up existing data entry for binding
if (row)
SpringDataRestService.get(

"resource": "clientsInternal",
"id": row
,
function (response) // Success Function - we have a copy of this client
// Transform URIs into IDs etc for rendering
if (response.type === "SUBSCRIBER")
$http(
method: 'GET',
url: response._links.vendorClient.href
).then(function successCallback(response)
// this callback will be called asynchronously
// when the response is available
$scope.targetEntity.vendorClient = response.data.id;
);
else
// Find any clients which depend on this one and disable delete if necessary
SpringDataRestService.get(

"vendorClientId": row,
"collection": "clientsInternal",
"resource": "search",
"method": "findActiveClientsByVendorClientId"
,
function (response) // Success Function
if (response._embedded.clientsInternal.length)
$scope.disableDeletionReason = "Cannot delete - " + response._embedded.clients.length + " active client(s) depend on this one."


);

$scope.targetEntity = response;
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

$scope.isNew = false;
else
$scope.isNew = true;
$scope.targetEntity = ;


/*$scope.contactTypeList = [
'id': 1, 'name': 'Reporting'
,
'id': 2, 'name': 'Primary Reporting'
,
'id': 3, 'name': 'Distribution List'
,
'id': 4, 'name': 'Location'
,
'id': 5, 'name': 'Billing'
];
$scope.targetEntity.contactType = $scope.contactTypeList[0].name;*/

// Get list of clients for pulldown menu
$scope.vendorClientList = [];
SpringDataRestService.get(
"collection": "clientsInternal",
function (response) // Success Function
var clients = response._embedded.clientsInternal;
for (var i = 0, len = clients.length; i < len; i++)
if (clients[i].type === "VENDOR")
var newClient = id: clients[i].id, name: clients[i].name;
$scope.vendorClientList.push(newClient);


,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);

// Handle event changes in the form to make it more idiot-proof
$scope.handleTypeChange = function (newType)
// Type has changed - blank values where necessary
if (newType === "VENDOR")
// Blank the vendor client pull down menu - no longer relevant
$scope.targetEntity.client = "";

;

// Handle create button event
$scope.handleCreate = function ()
// Got a new or updated object - now try persisting it
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.save(
"collection": "clientsInternal",
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle update button event
$scope.handleUpdate = function ()
if ($scope.targetEntity.vendorClient)
$scope.targetEntity.vendorClient = getResourceUri("clientsInternal", $scope.targetEntity.vendorClient);
else
$scope.targetEntity.vendorClient = null;

SpringDataRestService.update(

"collection": "clientsInternal",
"id": $scope.targetEntity.id
,
$scope.targetEntity,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response)
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle delete button event
$scope.handleDelete = function ()
SpringDataRestService.delete(

"resource": "clientsInternal",
"id": $scope.targetEntity.id
,
function (response) // Success Function
$scope.onComplete();
$uibModalInstance.close();
,
function (response) // Failure Function
clearDentAlerts($scope.alerts);
reportDentAlert($scope.alerts, new DentAlert(AlertType.ERROR, generateAlertMessage(response)));

);
;

// Handle cancel button event
$scope.handleCancel = function ()
$uibModalInstance.dismiss('cancel');
;

);


HTML:



<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>


Code for button:



 <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>


Thanks in advance







angularjs ngtable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 at 11:26







User0110101

















asked Mar 25 at 14:55









User0110101User0110101

437 bronze badges




437 bronze badges












  • Put the button wherever you are creating that top row instead of inside the ng-repeat.

    – Lex
    Mar 25 at 15:09











  • Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

    – User0110101
    Mar 26 at 11:18


















  • Put the button wherever you are creating that top row instead of inside the ng-repeat.

    – Lex
    Mar 25 at 15:09











  • Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

    – User0110101
    Mar 26 at 11:18

















Put the button wherever you are creating that top row instead of inside the ng-repeat.

– Lex
Mar 25 at 15:09





Put the button wherever you are creating that top row instead of inside the ng-repeat.

– Lex
Mar 25 at 15:09













Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

– User0110101
Mar 26 at 11:18






Hey @Lex been trying to do that but unfortunately still hasn't worked.Whereabouts do I need to put it?

– User0110101
Mar 26 at 11:18













1 Answer
1






active

oldest

votes


















0














you are trying to put your button in the filters row , to do that you have to define a custom filter template and pass it to your td for the action col.



I made a sample solution using your code, and you can view it here



the code :
html :



 <div ng-app="myApp" class="container-fluid">

<script type="text/ng-template" id="path/to/your/filters/actions.html">
<a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>
</script>

<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" filter=" action: 'actions'"
href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>

</div>


JS:



(function() 
angular.module("myApp", ["ngTable", "ngTableDemos", "angularMask"]);

angular.module("myApp").config(setConfigPhaseSettings);

setConfigPhaseSettings.$inject = ["ngTableFilterConfigProvider"];

function setConfigPhaseSettings(ngTableFilterConfigProvider)
var filterAliasUrls =
actions: "path/to/your/filters/actions.html"
;
ngTableFilterConfigProvider.setConfig(
aliasUrls: filterAliasUrls
);

// optionally set a default url to resolve alias names that have not been explicitly registered
// if you don't set one, then 'ng-table/filters/' will be used by default
ngTableFilterConfigProvider.setConfig(
defaultBaseUrl: "ng-table/filters/"
);

)();

(function()
"use strict";

angular.module("myApp").controller("demoController", demoController);

demoController.$inject = [
"NgTableParams",
"ngTableSimpleMediumList",
"ngTableDemoCountries"
];

function demoController(NgTableParams, simpleList, countries)





)();


for more details see the documentation on this link






share|improve this answer























  • @kjjkuoiojo did that work with you ?

    – Wasef Anabtawi
    Mar 31 at 14:52











  • Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

    – User0110101
    Apr 2 at 11:25











  • Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

    – User0110101
    Apr 2 at 11:27











  • you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

    – Wasef Anabtawi
    Apr 2 at 12:12










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55340626%2fangularjs-move-location-of-button-to-under-column-header%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














you are trying to put your button in the filters row , to do that you have to define a custom filter template and pass it to your td for the action col.



I made a sample solution using your code, and you can view it here



the code :
html :



 <div ng-app="myApp" class="container-fluid">

<script type="text/ng-template" id="path/to/your/filters/actions.html">
<a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>
</script>

<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" filter=" action: 'actions'"
href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>

</div>


JS:



(function() 
angular.module("myApp", ["ngTable", "ngTableDemos", "angularMask"]);

angular.module("myApp").config(setConfigPhaseSettings);

setConfigPhaseSettings.$inject = ["ngTableFilterConfigProvider"];

function setConfigPhaseSettings(ngTableFilterConfigProvider)
var filterAliasUrls =
actions: "path/to/your/filters/actions.html"
;
ngTableFilterConfigProvider.setConfig(
aliasUrls: filterAliasUrls
);

// optionally set a default url to resolve alias names that have not been explicitly registered
// if you don't set one, then 'ng-table/filters/' will be used by default
ngTableFilterConfigProvider.setConfig(
defaultBaseUrl: "ng-table/filters/"
);

)();

(function()
"use strict";

angular.module("myApp").controller("demoController", demoController);

demoController.$inject = [
"NgTableParams",
"ngTableSimpleMediumList",
"ngTableDemoCountries"
];

function demoController(NgTableParams, simpleList, countries)





)();


for more details see the documentation on this link






share|improve this answer























  • @kjjkuoiojo did that work with you ?

    – Wasef Anabtawi
    Mar 31 at 14:52











  • Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

    – User0110101
    Apr 2 at 11:25











  • Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

    – User0110101
    Apr 2 at 11:27











  • you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

    – Wasef Anabtawi
    Apr 2 at 12:12















0














you are trying to put your button in the filters row , to do that you have to define a custom filter template and pass it to your td for the action col.



I made a sample solution using your code, and you can view it here



the code :
html :



 <div ng-app="myApp" class="container-fluid">

<script type="text/ng-template" id="path/to/your/filters/actions.html">
<a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>
</script>

<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" filter=" action: 'actions'"
href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>

</div>


JS:



(function() 
angular.module("myApp", ["ngTable", "ngTableDemos", "angularMask"]);

angular.module("myApp").config(setConfigPhaseSettings);

setConfigPhaseSettings.$inject = ["ngTableFilterConfigProvider"];

function setConfigPhaseSettings(ngTableFilterConfigProvider)
var filterAliasUrls =
actions: "path/to/your/filters/actions.html"
;
ngTableFilterConfigProvider.setConfig(
aliasUrls: filterAliasUrls
);

// optionally set a default url to resolve alias names that have not been explicitly registered
// if you don't set one, then 'ng-table/filters/' will be used by default
ngTableFilterConfigProvider.setConfig(
defaultBaseUrl: "ng-table/filters/"
);

)();

(function()
"use strict";

angular.module("myApp").controller("demoController", demoController);

demoController.$inject = [
"NgTableParams",
"ngTableSimpleMediumList",
"ngTableDemoCountries"
];

function demoController(NgTableParams, simpleList, countries)





)();


for more details see the documentation on this link






share|improve this answer























  • @kjjkuoiojo did that work with you ?

    – Wasef Anabtawi
    Mar 31 at 14:52











  • Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

    – User0110101
    Apr 2 at 11:25











  • Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

    – User0110101
    Apr 2 at 11:27











  • you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

    – Wasef Anabtawi
    Apr 2 at 12:12













0












0








0







you are trying to put your button in the filters row , to do that you have to define a custom filter template and pass it to your td for the action col.



I made a sample solution using your code, and you can view it here



the code :
html :



 <div ng-app="myApp" class="container-fluid">

<script type="text/ng-template" id="path/to/your/filters/actions.html">
<a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>
</script>

<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" filter=" action: 'actions'"
href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>

</div>


JS:



(function() 
angular.module("myApp", ["ngTable", "ngTableDemos", "angularMask"]);

angular.module("myApp").config(setConfigPhaseSettings);

setConfigPhaseSettings.$inject = ["ngTableFilterConfigProvider"];

function setConfigPhaseSettings(ngTableFilterConfigProvider)
var filterAliasUrls =
actions: "path/to/your/filters/actions.html"
;
ngTableFilterConfigProvider.setConfig(
aliasUrls: filterAliasUrls
);

// optionally set a default url to resolve alias names that have not been explicitly registered
// if you don't set one, then 'ng-table/filters/' will be used by default
ngTableFilterConfigProvider.setConfig(
defaultBaseUrl: "ng-table/filters/"
);

)();

(function()
"use strict";

angular.module("myApp").controller("demoController", demoController);

demoController.$inject = [
"NgTableParams",
"ngTableSimpleMediumList",
"ngTableDemoCountries"
];

function demoController(NgTableParams, simpleList, countries)





)();


for more details see the documentation on this link






share|improve this answer













you are trying to put your button in the filters row , to do that you have to define a custom filter template and pass it to your td for the action col.



I made a sample solution using your code, and you can view it here



the code :
html :



 <div ng-app="myApp" class="container-fluid">

<script type="text/ng-template" id="path/to/your/filters/actions.html">
<a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a>
</script>

<div class="widget-body">
<table ng-table="clientTableOptions"
class="table table-bordered table-striped margin-bottom-10">
<tr ng-repeat="entity in $data" ng-click="onRowSelect(entity)">
<td data-title="'Name'" sortable="'name'" filter=" name: 'text'">
entity.name
</td>
<td data-title="'Type'" sortable="'type'" filter=" type: 'text'">
<div style="width:100px">
entity.type
</div>
</td>
<td data-title="'First Line of Address'" sortable="'address1'" filter=" address1: 'text'">
entity.address1
</td>
<td data-title="'City'" sortable="'city'" filter=" city: 'text'">
entity.city
</td>
<td data-title="'State / Province'" sortable="'stateProvince'"
filter=" stateProvince: 'text'">
entity.stateProvince
</td>
<td data-title="'Country'" sortable="'country'" filter=" country: 'text'">
entity.country
</td>
<td data-title="'Status'">
<span ng-bind-html="renderCrudEntityState(entity)"></span>
</td>
<td data-title="'Action'" filter=" action: 'actions'"
href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client>
<a ng-click="openModal(entity.id)" class="btn btn-default btn-xs purple">
<i class="fa fa-edit"></i>Modify
</a>
</td>
</tr>
</table>
</div>

</div>


JS:



(function() 
angular.module("myApp", ["ngTable", "ngTableDemos", "angularMask"]);

angular.module("myApp").config(setConfigPhaseSettings);

setConfigPhaseSettings.$inject = ["ngTableFilterConfigProvider"];

function setConfigPhaseSettings(ngTableFilterConfigProvider)
var filterAliasUrls =
actions: "path/to/your/filters/actions.html"
;
ngTableFilterConfigProvider.setConfig(
aliasUrls: filterAliasUrls
);

// optionally set a default url to resolve alias names that have not been explicitly registered
// if you don't set one, then 'ng-table/filters/' will be used by default
ngTableFilterConfigProvider.setConfig(
defaultBaseUrl: "ng-table/filters/"
);

)();

(function()
"use strict";

angular.module("myApp").controller("demoController", demoController);

demoController.$inject = [
"NgTableParams",
"ngTableSimpleMediumList",
"ngTableDemoCountries"
];

function demoController(NgTableParams, simpleList, countries)





)();


for more details see the documentation on this link







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 27 at 14:22









Wasef AnabtawiWasef Anabtawi

5511 gold badge7 silver badges17 bronze badges




5511 gold badge7 silver badges17 bronze badges












  • @kjjkuoiojo did that work with you ?

    – Wasef Anabtawi
    Mar 31 at 14:52











  • Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

    – User0110101
    Apr 2 at 11:25











  • Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

    – User0110101
    Apr 2 at 11:27











  • you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

    – Wasef Anabtawi
    Apr 2 at 12:12

















  • @kjjkuoiojo did that work with you ?

    – Wasef Anabtawi
    Mar 31 at 14:52











  • Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

    – User0110101
    Apr 2 at 11:25











  • Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

    – User0110101
    Apr 2 at 11:27











  • you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

    – Wasef Anabtawi
    Apr 2 at 12:12
















@kjjkuoiojo did that work with you ?

– Wasef Anabtawi
Mar 31 at 14:52





@kjjkuoiojo did that work with you ?

– Wasef Anabtawi
Mar 31 at 14:52













Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

– User0110101
Apr 2 at 11:25





Hey, sorry only got to see it now. I'm struggling to implement this. I've added my angularjs file for this html so it might give a better picture.

– User0110101
Apr 2 at 11:25













Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

– User0110101
Apr 2 at 11:27





Pathway for the url is srcmainresourcesstaticviewsclients-details.html, do I have to specifically define the filter as well?

– User0110101
Apr 2 at 11:27













you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

– Wasef Anabtawi
Apr 2 at 12:12





you need to create a template html file for your filter that contains the following " <a href type="button" class="btn btn-sm shiny" ng-click="openModal()">Create New Client</a> " (your code for the button ) and pass the path of this template to your ngTableFilterConfigProvider

– Wasef Anabtawi
Apr 2 at 12:12








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55340626%2fangularjs-move-location-of-button-to-under-column-header%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript