Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd feature: Entity dependent edit drop down options #2326
Conversation
|
paging @PaulL1 Does this looks like good, any recommended adjustments? I think this could be useful in many use cases. |
|
Looks good. Thanks for the contribution, I have merged. |
Add feature: Entity dependent edit drop down options
chandanjena
commented
Dec 2, 2016
|
I have a simple requirement. I am using angular ui-grid to display records fetched from database. I have a drop down field named Status. This drop down values are A, B, C, D, E. I need to display all the values if the logged in user ($scope.profile = Admin) is Admin. But if the user is Supervisor ($scope.profile = Supervisor) then, only A,B and C should be visible in the drop-down. here is my columnDefs for the drop-down. Thnaks in advance. |
wgorder commentedDec 11, 2014
Add the ability to populate cell drop dowmn menus from the row.entity by providing a path
to an options array on the entity. This allows for options to differ on a row by row basis.
closes #2309