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
0
votes
1 answer

Angular ui-grid use selectedrow feature to control content of a row column

I would like to the ui-grid row select feature to set the value of a column in the clicked row. I have a column in the DB named omit. I would like that value to equal the state of the selected row, so if the row is selected then omit = 1, if row is…
Sports Racer
  • 457
  • 6
  • 13
0
votes
1 answer

UI-Grid more than one field per column

I need to import an Excel sheet to UI-Grid using JS-XLS in the same column where I retrieve data from database. For example, one of the columns is defined as: { field: 'employee_id', displayName: 'ID', width: "*"} From the sheet, the column I…
Radec
  • 65
  • 9
0
votes
1 answer

Angular Ui-Grid Multi Level Nesting

I am using Angular Ui-grid.Trying to achieve multi level nesting in that. Some one have already raised the issue in uiGrid github. But that solution doesn't seems working. I have changed the JSON like this. I am trying to form nested sub grid. Below…
ShaMoh
  • 1,490
  • 3
  • 18
  • 34
0
votes
1 answer

ui-grid cellTypeCondition possible?

Does anyone know if it is possible in ui-grid to set type of cell using condition like cellEditableCondition ? I need to set some editable rows type to text instead of number. Thanks
Mika
  • 73
  • 5
0
votes
1 answer

ANGULAR-JS : Angular UI-GRID width changing

I implemented angular ui-grid which should look like: Angular ui-grid But in some scenarios it is becoming like: Shrinked grid I need the solution so that the grid width remains intact like in the first image. It generally shrinks when i hit F12 and…
0
votes
1 answer

angularjs diplay ui-grid data only after the filter data is entered

I'm new to angularjs. I have a ui-grid that fetches UserId, first name and last name from the database and displays it on the grid I have kept enableFiltering: true so i am able to search the data from the grid. Currently on pageload, all the…
0
votes
0 answers

Ui-Grid Not Displaying (at all)

I'm using AngularJS. The controller is functioning; I can call functions and values from it via my view. I can assign values to my gridOptions.data without console error. I can define other properties for gridOptions without conosole error. But the…
Ranger
  • 1,139
  • 1
  • 13
  • 34
0
votes
1 answer

Select ui grid 2 row when ui grid 1 row is selected(vice versa)

I have two grids with same data. My aim is to when a row is selected in one grid, corresponding row in another grid also gets selected. Plunker: http://plnkr.co/edit/BBfMxvsv0OUsjiqblBJQ?p=preview I'm getting selected grid like this: onRegisterApi:…
Naishav Mehta
  • 306
  • 1
  • 2
  • 14
0
votes
1 answer

UI grid unable to get selected rows in case of 2 grids(same grid repeated twice)

I have created two ui grids on the same html(both are same). I'm trying to get selected row on click of submit button. I'm able to get selected row for second grid but not able to get it for the first grid. I'm getting selected rows like this: …
Naishav Mehta
  • 306
  • 1
  • 2
  • 14
0
votes
1 answer

Getting the count programmatically for ui-grid group

Given a grouping in ui-grid, how can I programmatically get the count (shown parenthetically and highlighted in screenshot)? The end goal here is adding a (custom) menu item that sorts a column by count of groups.
core
  • 32,451
  • 45
  • 138
  • 193
0
votes
2 answers

How to use 2 ui-grid with ng-hide and ng-grid?

I am new to angularjs and I want create one Page in which I want to add 2 ui-grid with one button called "other-grid" first time it must Load 1st grid and when we click again then 1st grid must replace with 2nd grid But some Problems are there I…
Navjyot
  • 118
  • 1
  • 11
-1
votes
1 answer

Only last selected row is focused

When i check and select a row in ui-grid, only the last selected row is focused (painted with background). Are all rows should be painted by default? thanks
eladr
  • 343
  • 1
  • 4
  • 18
-1
votes
1 answer

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?
Saghi Shiri
  • 537
  • 5
  • 19
-1
votes
1 answer

Angularjs: How to add values in UI-grid for column which is a percentage value

Angularjs: I have ui-grid in angularjs which one field as Percentage? This grid initially has ne row and new rows can be added, but once the percentage column reaches 100%, new rows can not be added. How to add values in UI-grid for column and…
user5636236
  • 387
  • 1
  • 3
  • 13
-1
votes
1 answer

ui-grid second col can edit or not judge by first col 's value

enter image description here 1.The request is weather the 'tax_amount' column need to be filled in or not decide by the first column: 'tax_type', ex: tax_type = 1, tax_amount can edit, tax_type = 2, tax_amount can't edit. can ui-grid do this…
kunh
  • 1
  • 1
1 2 3
32
33