Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right?2019 Community Moderator ElectionKendo UI Angular Grid Detail template “+” icon to be moved to last columnHow to hide the expand/collapse icon for the detail grid in kendo uiKendo Grid Details On Row ExpandHow to expand and collapse Kendo Hierarchy gridA button on each row of Kendo ui Grid that expands detail viewKendo Grid - Group Expand collapse EventsKendo Grid for Angular 2 FeaturesKendo UI Angular 2 - Grid All Groups Collapsed by DefaultKendo UI Angular Grid - Collapse groups and virtual scrollCollapse Kendo UI Grid details programmatically in Angular applicationKendo UI Angular Grid Detail template “+” icon to be moved to last column
et qui - how do you really understand that kind of phraseology?
Why is the President allowed to veto a cancellation of emergency powers?
How well should I expect Adam to work?
What is the Japanese sound word for the clinking of money?
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
How do I change two letters closest to a string and one letter immediately after a string using Notepad++?
How to terminate ping <dest> &
Do I need life insurance if I can cover my own funeral costs?
Shortcut for setting origin to vertex
Examples of transfinite towers
What do you call the act of removing a part of a word and replacing it with an apostrophe
New passport but visa is in old (lost) passport
As a new Ubuntu desktop 18.04 LTS user, do I need to use ufw for a firewall or is iptables sufficient?
Violin - Can double stops be played when the strings are not next to each other?
World War I as a war of liberals against authoritarians?
Problem with FindRoot
Recruiter wants very extensive technical details about all of my previous work
Is "upgrade" the right word to use in this context?
Official degrees of earth’s rotation per day
I am confused as to how the inverse of a certain function is found.
Python if-else code style for reduced code for rounding floats
Why does energy conservation give me the wrong answer in this inelastic collision problem?
Why does a Star of David appear at a rally with Francisco Franco?
Why Choose Less Effective Armour Types?
Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right?
2019 Community Moderator ElectionKendo UI Angular Grid Detail template “+” icon to be moved to last columnHow to hide the expand/collapse icon for the detail grid in kendo uiKendo Grid Details On Row ExpandHow to expand and collapse Kendo Hierarchy gridA button on each row of Kendo ui Grid that expands detail viewKendo Grid - Group Expand collapse EventsKendo Grid for Angular 2 FeaturesKendo UI Angular 2 - Grid All Groups Collapsed by DefaultKendo UI Angular Grid - Collapse groups and virtual scrollCollapse Kendo UI Grid details programmatically in Angular applicationKendo UI Angular Grid Detail template “+” icon to be moved to last column
Is it possible for the Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right of the grid?
It appears that kendo-ui defaults the expand/collapse to the left most column of the kendo grid. I need to see if it is possible to move it to the button to the right.
kendo-grid kendo-ui-angular2
add a comment |
Is it possible for the Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right of the grid?
It appears that kendo-ui defaults the expand/collapse to the left most column of the kendo grid. I need to see if it is possible to move it to the button to the right.
kendo-grid kendo-ui-angular2
add a comment |
Is it possible for the Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right of the grid?
It appears that kendo-ui defaults the expand/collapse to the left most column of the kendo grid. I need to see if it is possible to move it to the button to the right.
kendo-grid kendo-ui-angular2
Is it possible for the Kendo UI for Angular Grid Detail expand/collapse button to be moved to the right of the grid?
It appears that kendo-ui defaults the expand/collapse to the left most column of the kendo grid. I need to see if it is possible to move it to the button to the right.
kendo-grid kendo-ui-angular2
kendo-grid kendo-ui-angular2
asked Jul 19 '18 at 22:16
Jay CulpepperJay Culpepper
326315
326315
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
We can implement it by hiding the current +/- icons using some custom CSS and manually adding such icons to the last column. Then we would need to programmatically expand and collapse the detail template, when clicking the icons in the last column, by using the expandRow and collapseRow functions of the grid.
Combine these plunkers to see
https://plnkr.co/edit/hc8eYXNTZyFqfRvOiCrc?p=preview
.k-icon.k-plus:before
content: none;
.k-icon.k-minus:before
content: none;
.k-icon.k-plus, .k-icon.k-minus
pointer-events: none;
.k-detail-cell
overflow: visible !important
.k-detail-cell section
margin-left: -32px;
https://plnkr.co/edit/HaCEdMYUtAj4RlpebQnj?p=preview
//import components
import
GridComponent,
GridDataResult,
DataStateChangeEvent
from '@progress/kendo-angular-grid';
//get the child
@ViewChild(GridComponent) grid: GridComponent;
//modify your logic here
public ngAfterViewInit(): void
// Expand all first rows initially
for(let i = 0; i < this.pageSize; i++)
this.grid.expandRow(i);
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51432466%2fkendo-ui-for-angular-grid-detail-expand-collapse-button-to-be-moved-to-the-right%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
We can implement it by hiding the current +/- icons using some custom CSS and manually adding such icons to the last column. Then we would need to programmatically expand and collapse the detail template, when clicking the icons in the last column, by using the expandRow and collapseRow functions of the grid.
Combine these plunkers to see
https://plnkr.co/edit/hc8eYXNTZyFqfRvOiCrc?p=preview
.k-icon.k-plus:before
content: none;
.k-icon.k-minus:before
content: none;
.k-icon.k-plus, .k-icon.k-minus
pointer-events: none;
.k-detail-cell
overflow: visible !important
.k-detail-cell section
margin-left: -32px;
https://plnkr.co/edit/HaCEdMYUtAj4RlpebQnj?p=preview
//import components
import
GridComponent,
GridDataResult,
DataStateChangeEvent
from '@progress/kendo-angular-grid';
//get the child
@ViewChild(GridComponent) grid: GridComponent;
//modify your logic here
public ngAfterViewInit(): void
// Expand all first rows initially
for(let i = 0; i < this.pageSize; i++)
this.grid.expandRow(i);
add a comment |
We can implement it by hiding the current +/- icons using some custom CSS and manually adding such icons to the last column. Then we would need to programmatically expand and collapse the detail template, when clicking the icons in the last column, by using the expandRow and collapseRow functions of the grid.
Combine these plunkers to see
https://plnkr.co/edit/hc8eYXNTZyFqfRvOiCrc?p=preview
.k-icon.k-plus:before
content: none;
.k-icon.k-minus:before
content: none;
.k-icon.k-plus, .k-icon.k-minus
pointer-events: none;
.k-detail-cell
overflow: visible !important
.k-detail-cell section
margin-left: -32px;
https://plnkr.co/edit/HaCEdMYUtAj4RlpebQnj?p=preview
//import components
import
GridComponent,
GridDataResult,
DataStateChangeEvent
from '@progress/kendo-angular-grid';
//get the child
@ViewChild(GridComponent) grid: GridComponent;
//modify your logic here
public ngAfterViewInit(): void
// Expand all first rows initially
for(let i = 0; i < this.pageSize; i++)
this.grid.expandRow(i);
add a comment |
We can implement it by hiding the current +/- icons using some custom CSS and manually adding such icons to the last column. Then we would need to programmatically expand and collapse the detail template, when clicking the icons in the last column, by using the expandRow and collapseRow functions of the grid.
Combine these plunkers to see
https://plnkr.co/edit/hc8eYXNTZyFqfRvOiCrc?p=preview
.k-icon.k-plus:before
content: none;
.k-icon.k-minus:before
content: none;
.k-icon.k-plus, .k-icon.k-minus
pointer-events: none;
.k-detail-cell
overflow: visible !important
.k-detail-cell section
margin-left: -32px;
https://plnkr.co/edit/HaCEdMYUtAj4RlpebQnj?p=preview
//import components
import
GridComponent,
GridDataResult,
DataStateChangeEvent
from '@progress/kendo-angular-grid';
//get the child
@ViewChild(GridComponent) grid: GridComponent;
//modify your logic here
public ngAfterViewInit(): void
// Expand all first rows initially
for(let i = 0; i < this.pageSize; i++)
this.grid.expandRow(i);
We can implement it by hiding the current +/- icons using some custom CSS and manually adding such icons to the last column. Then we would need to programmatically expand and collapse the detail template, when clicking the icons in the last column, by using the expandRow and collapseRow functions of the grid.
Combine these plunkers to see
https://plnkr.co/edit/hc8eYXNTZyFqfRvOiCrc?p=preview
.k-icon.k-plus:before
content: none;
.k-icon.k-minus:before
content: none;
.k-icon.k-plus, .k-icon.k-minus
pointer-events: none;
.k-detail-cell
overflow: visible !important
.k-detail-cell section
margin-left: -32px;
https://plnkr.co/edit/HaCEdMYUtAj4RlpebQnj?p=preview
//import components
import
GridComponent,
GridDataResult,
DataStateChangeEvent
from '@progress/kendo-angular-grid';
//get the child
@ViewChild(GridComponent) grid: GridComponent;
//modify your logic here
public ngAfterViewInit(): void
// Expand all first rows initially
for(let i = 0; i < this.pageSize; i++)
this.grid.expandRow(i);
answered Jul 26 '18 at 20:07
Ashwin SekharAshwin Sekhar
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51432466%2fkendo-ui-for-angular-grid-detail-expand-collapse-button-to-be-moved-to-the-right%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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