1,885 questions
0
votes
1
answer
239
views
"TypeError: i18nService.getSafeText is not a function" when rendering data for grid using angular-ui-grid
I have imported the ui-grid module in my app's module import file:
import 'angular-ui-grid/ui-grid.core';
Added in the same file this imported module:
const app = angular
.module('app', [
...
0
votes
2
answers
2k
views
Angular ui-grid grouping showing duplicate rows
I am new to Angular and trying to group row's using Angular ui.grid.grouping. But I am seeing duplicate rows and its not grouped properly. I am using Angular js 1.7.2 version
app.js
var app = ...
2
votes
1
answer
2k
views
Use {{COL_FIELD}} in UI-Grid cellTemplate
I'm facing some difficulties while trying to use COL_FIELD value in UI-grid cell template.
Basically what I'm trying to do, is to set a color for each cell based on its value in 'dateColor' ...
1
vote
1
answer
686
views
Get the text box value from the UI-Grid onblur
I would like to get the value that is entered in the textbox on blur event in UI-Grid.
iam unable to get the value the event is getting triggered but unble to get the logic how to get the text box ...
1
vote
0
answers
206
views
Custom Cell Height Across Pinned Columns
I am working on a concept with Angular UI-Grid where we will have several columns pinned to the left and need to customize the height of the cells. I am easily able to modify the height of a cell but ...
0
votes
1
answer
319
views
How can I mouse select one column in Angular UI Gird?
For example, in below very simple Angular UI Gird sample, you can NOT select a specific column. When click mouse and drag, it will select both rows and columns, is there a way to only select a column? ...
0
votes
1
answer
964
views
How to Hide and Show UI Grid with Columns based on input
I am using Angular UI Grid. I want to show UI Grid based on checkbox input. I am able to hide and show grid based on checkbox but never able to show columns in UI Grid.
HTML Code
<table>
&...
0
votes
1
answer
532
views
AngularJs using ui-select "Cannot set property 'gridOptions' of undefined" [duplicate]
I`m trying to get data from database in dropdown menu used with ui-select in angularJS and by clicking a button to show below in ui-grid some data related to selected item.
I have tried with select, ...
0
votes
1
answer
240
views
Ui-grid with uib-popover as a cellTemplate
I'm trying to use a uib-popover from ui-bootstrap in the ui-grid, but when I click in the popover, the "click" events goes to my grid. I set a Plunker with this problem: https://next.plnkr.co/plunk/...
0
votes
1
answer
622
views
'rowSelectionChanged' not triggered on click of a row in angular ui-grid with 'enableRowHeaderSelection' enabled
I have a UI grid with selection(checkbox) enabled. On click of a row, it should redirect to other window and on click of checkbox, row should be selected(All the selected rows are then used for ...
0
votes
1
answer
157
views
Does angular-ui-grid allow for changing the filter on a specific cell?
I've found a lot of good information about the angular-ui-grid cell filters but I can't seem to locate an answer to my specific issue. Basically I have a grid set up with two columns:
Column A is a ...
0
votes
2
answers
988
views
How to change ui-grid with gridOption-enableRowselection dynamically in Angular JS
I need to enable and disable rowSelection for view depending on some condition. Problem here is,multiple views use the same html and controller. I need the rowSelection to be disabled for a certain ...
0
votes
0
answers
697
views
Angular UI Grid: how to fill a dropdown filter with real data from database/backend
I've been struggling for more than 1 day trying to find a solution to pre-fill angular-ui-grid dropdown with data from the backend. And yes, I've seen many similar questions, but none of them talks ...
0
votes
1
answer
322
views
Can i change the template of the ui-grid?
I have a use case where i want to modify the whole template of the ui-grid. When i searched the files in the GitHub repository, i found that they use a template for the grid but couldn't find a way to ...
0
votes
1
answer
129
views
angular ui grid verifying sorted data using ruby selenium
I have an angular webpage. One of the page sections (an angular ui grid) contains nearly 1000 rows of data. Each row has 7 columns. (There is no table tag available anywhere in the HTML the grid is ...
1
vote
0
answers
198
views
UI GRID Maintain full width even after user resize column
I have the following grid :
UI-GRID
I am trying to avoid this problem :
So I made a function in order to disable the resize of the last row.
const disableLastColumnResize = () => {
let ...
1
vote
0
answers
115
views
uib-dropdown dislocated when using in ui-grid cellTemplate
I want to show a uib-dropdown menu in a ui-grid cell. I've given that and its working fine. But the problem belongs to its position.
uib-dropdown opened in cell
The shown drop-down menu is of the ...
0
votes
1
answer
153
views
Is it possible to remove one row header column from angular ui-grid?
I had checked this link.
That's a clever idea but isn't for my problem.
My grid has a row number header column and some other row header columns,
and these is a switch for only the row number column.
...
0
votes
1
answer
215
views
Why does UI-Grid Selection throws JS error
The ui-grid in the code was working perfectly and suddenly started throwing
Uncaught TypeError: row.setSelected is not a function
at Object.toggleRowSelection (ui-grid.js:247923)
at ...
0
votes
1
answer
231
views
Is it possible to create expandable UI-grid with custom template as Ul li display
Hi I need to have a expandable ui-gird, while expanding a row need to show the detail view of the selected row in Ul li.
I check in official site, but doesn't found anything, is it possible in ui-...
0
votes
1
answer
178
views
Get filtered data from ui-grid in controller
Is there any way we can get all the filtered data from ui-grid to controller to perform some processing. Intially i have 100 records, on applying some filter it gives 10 records, I need those 10 ...
1
vote
1
answer
385
views
Angular-ui-grid - text-decoration doesn't apply to row template children
I am able to set the row background colour by applying the following CSS to row template in AngularJS UI grid:
.deleted {
background-color: #e3e3e3 !important;
}
It works well. ...
-1
votes
1
answer
67
views
how to write a rowtemplate when pinning exsits
when I set pinning and rowTemplate together,the rowTemplate repeat 3 times in single row
I think it is influenced by the pinning col,but i don't know how to fix it
here's the plunker: http://plnkr....
1
vote
0
answers
233
views
ui grid show hyperlink on export excel cell
I want to change this
var cell = {
v: value,
s: {alignment: {horizontal:"left"}}
};
to add hyperlink formula on 'value' like this
`{ formula:'HYPERLINK("' + ...
0
votes
1
answer
2k
views
Limit ui-grid to max rows visible
I am trying to set height of the ui-grid to be the size of 3 rows. I went through the ui-grid documentation and it contains something like minRowsToShow but there is no equivalent property to ...
0
votes
1
answer
1k
views
How to export selected columns in ui-grid angularjs?
I am using UI grid export functionality to export grid columns in csv format.I want to let users to select columns for export. My question is How can I make selection on columns?
-1
votes
1
answer
652
views
How to change the value of a column in export csv format in ui grid?
I am using UI grid export functionality to export all grid columns in .csv format.
Some columns values are 'FALSE' or '1' / '0' .
My question is How can I change them to some strings in exported file?
0
votes
1
answer
177
views
Hide or refresh element when all item are hidden ui-grid
I have a grid, with a menu and items.
If I hide all the items using the inbuilt menu, I would like to refresh the pagination so that it display 0-100 items.
The only way I found i looping over all ...
0
votes
1
answer
406
views
how to apply sorting in ui-grid?
I have one angularjs project in which I am using ui-grid.
As you can see in my code, I have some attribute in cell-template. I have to perform sorting based on "rating-percentage".
So I am trying to ...
0
votes
1
answer
293
views
How to call a function multiple times from cell template in ui-grid in angularjs?
I have one controller in angularJs(1.6) which is using ui-grid.
Problem is there is one cell template. I want to get different values for rating percentage in this template. I have created a function "...
-1
votes
1
answer
176
views
angular Ui grid aggregation value
hi i am working on angular ui grid for an about couple of days
And now my is question is that if the sum of total is negative then the color of that particular footer must be in red color
...
0
votes
1
answer
183
views
angular-ui-grid save state object doesn't contain 'field' property of column definitions
I am using save state service -> $scope.gridApi.saveState.save() to save the current state of the grid. But the save state object doesn't contain the property 'field' defined in column Def. It ...
1
vote
2
answers
1k
views
How to call a function from cell template in ui-grid in angularjs?
I have one controller in angularJs(1.6) which is using ui-grid.
Problem is there is one cell template. I want to get its value from a function. I have tried creating a function and tried to call it ...
0
votes
0
answers
110
views
Angular-UI-Grid integration with angular 1.5
I am getting below error while using Angular-UI-Grid in angular 1.5 application.
ajax.ts:153 GET http://localhost:5000/ui-grid/uiGridRenderContainer 404 (Not Found) XMLHttpRequest.send @ ajax....
1
vote
1
answer
180
views
AngularJs ui-grid onRowSelectionChanged is not updating variable value, always it has default value
it worked fine last time i check(two or three months ago) their is a variable called with the default boolean value false like below.
$scope.IsRowSelected = false;
And i should mention when the ...
1
vote
0
answers
68
views
How to implement "not null" filter in angular js(Version 1)?
How to find out the data which is not null using angular ui grid filter option.
I am getting the null values by typing null in search option of angular ui grid
but on search about "notnull" in ...
0
votes
4
answers
1k
views
AngularJs, display function result in ui-grid
I am trying to sum two columns in a function then display their result in the ui grid. any ideas about how to do this, then save the ui grid content in the database?
see the picture
so in my case : ...
1
vote
0
answers
674
views
ui-grid gridApi undefined
In my application i have the ui-grid with infinite scroll. I include the libraries on my App and declare it.
var TestApp = angular.module('TestApp', [
'angucomplete-alt',
'ngRoute',
'infinite-...
1
vote
0
answers
88
views
Implement UI-GRID angular on spring mvc view
I'm trying to implement UI-GRID for the very fisrt time but having some problems on it, I've seen some basic tutorials to implement it but I can get to do it, I'm using an HTML file as view (also ...
0
votes
0
answers
1k
views
Angular Ui-Grid Excel Export Fomatting
We are using the latest version of angular ui-grid and using exporter service to download excel files as:
var rowTypes = uiGridExporterConstants.All
var colTypes = uiGridExporterConstants.All
...
0
votes
2
answers
763
views
How to Show Row No in angular ui-grid 3.0
I want to show the Row no in my grid.
I use cell template and there i use {{rowRenderIndex+1}}
It works fine when records are less then 14,but after record count get increased then when we scroll down ...
0
votes
1
answer
896
views
Check existence of row in gridOptions
I have ui_grid in angular.JS and I have a form to add data to that grid
and I want to validate if the data in the form is already exists in the grid!
Is there any method that can help me to do this ??
...
0
votes
0
answers
82
views
Fastest way to convert JSON date to ISO 8601 in c#
I am using c# asp.net with angularJS.
In the controller of the ASP.NET I retrieve data from the model.
public JsonResult Employee_GetList()
{
List<EmployeeModels> List = obj....
0
votes
1
answer
151
views
Disable 'live sorting' in UI-Grid
When UI-Grid's sorting is enabled, if the user edits a value in a sorted column, the row in question may move or disappear from view when he exits the cell, as it is sorted to a new position.
The ...
0
votes
1
answer
192
views
ui-grid columnPinned event
Is there any event triggered when any column pinned for ui-grid?
Ex:
$scope.gridApi.core.on.sortChanged($scope, function());
0
votes
0
answers
96
views
AngularScreenshot- Not able to take screenshot for UI grid content
I have implemented Angular-screenshot npm module, I am able to take a screenshot and Send image properly for normal content. however, I am not able to get a screenshot for my UI-grid implementation. ...
4
votes
0
answers
188
views
Memory leak with uigrid 3 appscope provider and angular 1.5 component expression bindings
I am facing a weird memory leak.
I am using uigrid appScopeProvider to be able to select a row in the grid and call an expression binding ("&") to validate my choice and close my component.
What ...
0
votes
1
answer
454
views
Using typeahead in AngularJS UI-grid with cellNav
I have an Angular-UI grid defined with ui-grid-cellNav to allow editing cells when single-clicked, along with a custom template to display an Angular-UI Bootstrap typeahead to a particular column as ...
0
votes
1
answer
528
views
How to add drop-down and input field in the angular ui-grid table?
How to add drop-down and input field in the angular ui-grid table? If I have list of values coming as drop-down, if I want enter a new value which not available in drop-down through input field?
0
votes
0
answers
189
views
UI Grid; Iterating Through Object
I'm trying to iterate through my data.TeamMembers object in UI-Grid; i'm having trouble getting the data to show in my ui-grid.
I'm able to reference each array property by directly writing row....