uib-dropdown dislocated when using in ui-grid cellTemplate2019 Community Moderator ElectionHow to make Twitter Bootstrap menu dropdown on hover rather than clickBootstrap 3 Drop Up Menu with sub-menusDropdown menu in angular ui-grid column not dropping downHow to disable sorting on edit in angular ui gridUI grid cellTemplate editableCellTemplate doesn't lose focusAngularjs: Sorting not working in ui-grid with CellTemplate dataAngular UI-Grid with bootstrap action dropdown in cellTemplateAngularJS ui-grid sorting in cellTemplateCan't access ui-grid in cellTemplateui-grid cellTemplate images not displaying

I seem to dance, I am not a dancer. Who am I?

What is the term when voters “dishonestly” choose something that they do not want to choose?

Existence of a celestial body big enough for early civilization to be thought of as a second moon

Print last inputted byte

Asserting that Atheism and Theism are both faith based positions

Usage and meaning of "up" in "...worth at least a thousand pounds up in London"

How to define limit operations in general topological spaces? Are nets able to do this?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

What should I install to correct "ld: cannot find -lgbm and -linput" so that I can compile a Rust program?

Probably overheated black color SMD pads

Print a physical multiplication table

What favor did Moody owe Dumbledore?

Is it insecure to send a password in a `curl` command?

What exactly term 'companion plants' means?

Why is there so much iron?

How could an airship be repaired midflight?

Calculate the frequency of characters in a string

Hausdorff dimension of the boundary of fibres of Lipschitz maps

Could Sinn Fein swing any Brexit vote in Parliament?

Wrapping homogeneous Python objects

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Is there a term for accumulated dirt on the outside of your hands and feet?

How do hiring committees for research positions view getting "scooped"?

Why is indicated airspeed rather than ground speed used during the takeoff roll?



uib-dropdown dislocated when using in ui-grid cellTemplate



2019 Community Moderator ElectionHow to make Twitter Bootstrap menu dropdown on hover rather than clickBootstrap 3 Drop Up Menu with sub-menusDropdown menu in angular ui-grid column not dropping downHow to disable sorting on edit in angular ui gridUI grid cellTemplate editableCellTemplate doesn't lose focusAngularjs: Sorting not working in ui-grid with CellTemplate dataAngular UI-Grid with bootstrap action dropdown in cellTemplateAngularJS ui-grid sorting in cellTemplateCan't access ui-grid in cellTemplateui-grid cellTemplate images not displaying










0















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 first row. The menu for the 2nd row will be shown even more downwards only. I inspected and tried so many ways to make it close to the selected row. But nothing worked. The given cell template in ui-grid is given below.



columnDefs: [

name: app.localize('Actions'),
enableSorting: false,
width: 120,
cellTemplate:
'<div class="ui-grid-cell-contents">' +
' <div class="btn-group dropdown" uib-dropdown="" dropdown-append-to-body>' +
' <button class="btn btn-xs btn-primary blue" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog"></i> ' + app.localize('Actions') + ' <span class="caret"></span></button>' +
' <ul uib-dropdown-menu>' +
' <li><a ng-click="grid.appScope.detailsView(row.entity)">' + app.localize('Details') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.edit" ng-click="grid.appScope.editClassDiary(row.entity)">' + app.localize('Edit') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.delete" ng-click="grid.appScope.deleteClassDiary(row.entity)">' + app.localize('Delete') + '</a></li>' +
' </ul>' +
' </div>' +
'</div>'



Also tried by removing the dropdown-append-to-body. But then the entire menu moved into the cell. Only the cell size portion is visible. Please help me somebody..










share|improve this question






















  • Sadly, nobody is here in stackoverflow? :(

    – Sayas Khan
    Mar 7 at 20:17















0















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 first row. The menu for the 2nd row will be shown even more downwards only. I inspected and tried so many ways to make it close to the selected row. But nothing worked. The given cell template in ui-grid is given below.



columnDefs: [

name: app.localize('Actions'),
enableSorting: false,
width: 120,
cellTemplate:
'<div class="ui-grid-cell-contents">' +
' <div class="btn-group dropdown" uib-dropdown="" dropdown-append-to-body>' +
' <button class="btn btn-xs btn-primary blue" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog"></i> ' + app.localize('Actions') + ' <span class="caret"></span></button>' +
' <ul uib-dropdown-menu>' +
' <li><a ng-click="grid.appScope.detailsView(row.entity)">' + app.localize('Details') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.edit" ng-click="grid.appScope.editClassDiary(row.entity)">' + app.localize('Edit') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.delete" ng-click="grid.appScope.deleteClassDiary(row.entity)">' + app.localize('Delete') + '</a></li>' +
' </ul>' +
' </div>' +
'</div>'



Also tried by removing the dropdown-append-to-body. But then the entire menu moved into the cell. Only the cell size portion is visible. Please help me somebody..










share|improve this question






















  • Sadly, nobody is here in stackoverflow? :(

    – Sayas Khan
    Mar 7 at 20:17













0












0








0








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 first row. The menu for the 2nd row will be shown even more downwards only. I inspected and tried so many ways to make it close to the selected row. But nothing worked. The given cell template in ui-grid is given below.



columnDefs: [

name: app.localize('Actions'),
enableSorting: false,
width: 120,
cellTemplate:
'<div class="ui-grid-cell-contents">' +
' <div class="btn-group dropdown" uib-dropdown="" dropdown-append-to-body>' +
' <button class="btn btn-xs btn-primary blue" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog"></i> ' + app.localize('Actions') + ' <span class="caret"></span></button>' +
' <ul uib-dropdown-menu>' +
' <li><a ng-click="grid.appScope.detailsView(row.entity)">' + app.localize('Details') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.edit" ng-click="grid.appScope.editClassDiary(row.entity)">' + app.localize('Edit') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.delete" ng-click="grid.appScope.deleteClassDiary(row.entity)">' + app.localize('Delete') + '</a></li>' +
' </ul>' +
' </div>' +
'</div>'



Also tried by removing the dropdown-append-to-body. But then the entire menu moved into the cell. Only the cell size portion is visible. Please help me somebody..










share|improve this question














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 first row. The menu for the 2nd row will be shown even more downwards only. I inspected and tried so many ways to make it close to the selected row. But nothing worked. The given cell template in ui-grid is given below.



columnDefs: [

name: app.localize('Actions'),
enableSorting: false,
width: 120,
cellTemplate:
'<div class="ui-grid-cell-contents">' +
' <div class="btn-group dropdown" uib-dropdown="" dropdown-append-to-body>' +
' <button class="btn btn-xs btn-primary blue" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog"></i> ' + app.localize('Actions') + ' <span class="caret"></span></button>' +
' <ul uib-dropdown-menu>' +
' <li><a ng-click="grid.appScope.detailsView(row.entity)">' + app.localize('Details') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.edit" ng-click="grid.appScope.editClassDiary(row.entity)">' + app.localize('Edit') + '</a></li>' +
' <li><a ng-if="grid.appScope.permissions.delete" ng-click="grid.appScope.deleteClassDiary(row.entity)">' + app.localize('Delete') + '</a></li>' +
' </ul>' +
' </div>' +
'</div>'



Also tried by removing the dropdown-append-to-body. But then the entire menu moved into the cell. Only the cell size portion is visible. Please help me somebody..







drop-down-menu angular-ui-bootstrap angular-ui-grid ui-grid asp.net-boilerplate






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 6 at 21:41









Sayas KhanSayas Khan

13




13












  • Sadly, nobody is here in stackoverflow? :(

    – Sayas Khan
    Mar 7 at 20:17

















  • Sadly, nobody is here in stackoverflow? :(

    – Sayas Khan
    Mar 7 at 20:17
















Sadly, nobody is here in stackoverflow? :(

– Sayas Khan
Mar 7 at 20:17





Sadly, nobody is here in stackoverflow? :(

– Sayas Khan
Mar 7 at 20:17












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55032617%2fuib-dropdown-dislocated-when-using-in-ui-grid-celltemplate%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55032617%2fuib-dropdown-dislocated-when-using-in-ui-grid-celltemplate%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved