# Category: ui-grid

## 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 requirement ? Source: AngularJS

## How to show column names grouped in angular ui-grid?

Is it possible to group multiple column names ( street, city, country ) to Address as showing in pic? Source: AngularJS

## Difference between name and field in ColumnDefs for ui-grid (AngularJS)?

Can anyone provide a practical example? From my understanding, field refers to the actual field you want to reference. That is, field should be the name of the variable (in the code) that you want to put in the table. displayName is more clear: it just specifies how the column name will be displayed in the table. This seems to be everything you need. What is the purpose of “name” then? Here is the documentation […]

## Angular JS – multi-select filter

This is the AngularJS UI-grid mult-select control. I would like to know why is the last checkbox partially hidden and how to fix it https://i.stack.imgur.com/xZXhl.gif Source: AngularJS

## In a cell, how getting a value which is in the parent scope

I want to know in a grid cell, how using a value which is in the grid parent scope. I have tried grid.appScope.value but it is undefined. Thanks Source: AngularJS

## ui-grid not showing data angularjs

Can someone please help me. I want to implement data display using ui-grid. But the grid is not displaying data just showing blank yet when i use table with <tr ng-repeat=”transaction in savingaccountdetails.transactions> data is displayed. I want to use ui-grid because of the ability to have fixed header while scrolling for large data but its so hard to make table header fixed, most times columns don’t align. i tried most cases but not working […]

## enableSelection and uiGridConstants

I’m trying to get rows selectable only with a certain $treeLevel. The console returned a ReferenceError: uiGridConstants is not defined. I have to admit that I don’t fully understand what uiGridConstants stands for. Here is my code: onRegisterApi: function (gridApi) { this.gridApiBatches = gridApi; console.info(gridApi); gridApi.grid.options.enableSelection = function (row) { if (row.entity.$treeLevel != 3) { return false; } else { return true; } }; gridApi.core.notifyDataChange(uiGridConstants.dataChange.OPTIONS); Source: AngularJS