How to align rows in grid?
See original GitHub issue@tribis Hey there. I have a serious issue in aligning my rows. Whenever grid is load it squeezes the row and if I slightly change the size of browser then it surprisingly become correctly aligned I dont whats the issue behind this. Waiting for your help please as early as possible. I have attached screen shot and the piece of code which will clear you my issue.
CODE:
$("#userUpdation").jsGrid({
height: "100%",
width: "100%",
filtering: false,
inserting:false,
editing: true,
selecting: true,
sorting: false,
paging: true,
autoload: true,
pageSize: 10,
pageButtonCount: 5,
controller: {
loadData: function (filter) {
return $.ajax({
type: "GET",
url: "/updateUser",
data: filter,
success: function (result){
**$('#userUpdation').jsgrid('render');**
}
});
}
}
});
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Box alignment in grid layout - CSS - MDN Web Docs
Inline / row axis are horizontal. We are able to align the content inside grid areas, and the grid tracks themselves on these...
Read more >How to use grid-row-align and grid-column-align?
The grid-row-align property defines the vertical alignment within the row while grid-column-align defines the horizontal alignment within ...
Read more >How To Use CSS Grid Properties to Justify and Align Content ...
When the entire grid is smaller than the space for the grid container, use justify-content to justify the grid along the row axis....
Read more >A Complete Guide to CSS Grid
Aligns grid items along the inline (row) axis (as opposed to align-items which aligns along the block (column) axis). This value applies to ......
Read more >CSS Grid Alignment - Quackit Tutorials
The align-self property aligns a box within its containing block along the block/column/cross axis. ... Here, the red grid item has a value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Glad that you figured it out. You are welcome!
@tabalinas Thanks man it is working now. I had an invisible container and I was unaware of it now all things are clear. Thanks for your help.