Questions tagged [ui-grid]

For questions related to data grid module for AngularJS which is part of AngularUI.

should be used for questions related to data grid module for which is part of

Usage

<div ng-controller="MainCtrl">
  <div ui-grid="{ data: myData }" class="myGrid"></div>
</div>

References

483 questions
1
vote
0 answers

Include CSV-JS with webpack (dynamic require error)

I am moderately new to webpack and have been struggling with this for a while, and need some help. This repo: github.com/gkindel/CSV-JS I cannot get to be built with webpack. It throws the error: WARNING in ./bower_components/CSV-JS/csv.js Critical…
kevinrstone
  • 266
  • 2
  • 12
1
vote
1 answer

Reset column order in angularjs ui-grid after moving

I have a ui-grid using the ui-grid-move-columns directive. With this directive, I can drag drop the ui-grid columns to change their order. I would like to be able to reset the column order back to the original state. Without the ui-grid-move-columns…
stuart donald
  • 193
  • 1
  • 1
  • 8
1
vote
2 answers

AngularJS ui-grid enableCellEdit NOT editing

I am trying to learn AngularJS. The grid displays properly. It loads page properly. It does NOT go into edit mode. Double click does not go into edit mode. F2 does not go into edit mode. ProductTitle (the second column below) is the example I am…
JenniferWalters
  • 87
  • 1
  • 11
1
vote
1 answer

Best way to refesh the angular ui-grid data. State refresh or feed new data to $scope.gridOptions.data?

I have an Angular UI grid in my page. When the user double clicks one row, it shows a modal with the row data which the user can update. Post successful update, i need to show the latest data in UI grid. To accomplish this, i have two options. They…
1
vote
1 answer

UI Grid showing only last record many times on infinite scroll

Before Scrolling After Scrolling In Grid on first time load I am getting data properly. After scrolling down it is getting problem. It displays last record from the first load's last record in every row. Below is my code for infinite scroll…
Dip Parmar
  • 312
  • 1
  • 13
1
vote
1 answer

Angular UI Grid Demo bug

Learning Angular UI Grid, believe the official tutorial has a bug. enter image description here Here is my code, local.html:
Jeb50
  • 6,272
  • 6
  • 49
  • 87
1
vote
3 answers

data binding - ui grid

I am trying to implement UI-grid into my app. Everything works fine when I assign static data to gridOptions.data; however, when I assign the data to gridOptions.data dynamically after loading the data from the server, I always get an empty string.…
user1242321
  • 1,578
  • 2
  • 18
  • 30
1
vote
1 answer

ui-grid 'renderComplete' event after rendering rows in DOM

I'm using ui-grid 3.2.1. Trying for a long time now to find an event that notifies me when rows are rendered in the DOM. I looked a lot in SO, and in their issues in Github. My test to see if rows are rendered is basically $('.ui-grid-row').length >…
nadavelyashiv
  • 309
  • 1
  • 3
  • 12
1
vote
1 answer

How to refresh the ui-grid while leaving rendered filters intact?

I need to refresh the ui grid and leave the site and the filters intact. How can I do that? Right now I'm using this inside a controller: $scope.refresh = function () { $state.reload(); };
1
vote
1 answer

How do I hide expand icon in ui-grid tree view?

I dynamically look up children but in certain cases I do know if a row is a leaf node or not. In these cases I'd like to hide the + icon for that particular row. Lets say the row.entity.status == 'leaf' decides whether we need to hide the +…
lostalien
  • 115
  • 1
  • 12
1
vote
0 answers

How to get unique cell id for Angular UI-Grid?

Is it possible to get unique cell ids in UI-Grid? Every time i navigate in my application the gridData is initialized and col.uid changes.
Juri
  • 1,531
  • 2
  • 20
  • 43
1
vote
0 answers

Cell with filter type SELECT not matching by EXACT condition

I've noticed that when you change columnDefs of a grid after they were initially created (in order to dynamically populate selectOptions of a cell that has filter type set to uiGridConstants.filter.SELECT) filter's condition will not be applied -…
Goran F
  • 103
  • 1
  • 7
1
vote
1 answer

Ui-grid with ui-router passing params

I am a beginner (idiot alert) I am successfully using ui-grid except when they click on an icon in a row it's meant to take them to a new view... The view I'm in showing the ui-grid has a url of #/reports/tickets I have $stateProvider set as…
Richard C
  • 171
  • 12
1
vote
1 answer

How do I Print The Whole Contents Of A Paginated AngularJS UI-Grid On An MVC Page?

I have an MVC page, with data being displayed in an AngularJS UI_Grid, which is all working fine, and showing 10, 20 or 50 rows to a page. However, I need to be able to print the whole list of data, even the rows that are displayed due to the…
1
vote
3 answers

How to remove sorting on ui-grid before reload another data set ui-grid

Im using ui-grid to load my data set. Here is my requirment; step 01: I want to load dataset_01 (scope.gridOptions.data = res_01;). step 02: I want to sort by First Name (Click by firstname column). step 03: Click an external button and Reload…
Gayan
  • 1,425
  • 4
  • 21
  • 41