jqgrid : alignment of subgrid inside jqgrid - jqgrid

I have implemented Jqgrid with subgrid.
Sub grid is center aligned with respect to main grid. Is it possible to make it left aligned?

Related

Kendo Grid Cell Templates

I need to add a checkbox and a circle to every cells of Kendo Grid. According to position attribute of Kendo grid cells, the result won't be aligned. Here is the result:
I'm using RTL version of Kendo grid.
Consider that I can't change the position attribute of Kendo grid cell because if I do so, when I click on each cell, the scroll will jump abnormally.

Is it possible to collapse or hide rows in SlickGrid?

I need expand/collapse feature to show/hide rows in SlickGrid.
So to implement this feature, I have a expand/collapse icon on the Grid header row. And by pressing it, it should Show/Hide all data of the grid (Toggle Visibility).
The feature I want to implement is exactly same as grouping where parent row can be expanded/collapsed by clicking on **+ or -** icon. But without applying grouping.
Should be pretty easy. Just find the viewport div and toggle its visibility on click. Everything else should collapse around it.

jqGrid make rowNum depend on vertical grid y-size

I have jqGrid which size is dynamically calculated on window resize as follows:
$(window).bind('resize', resizeTable);
function resizeTable(){
$("#jqGrid")
.setGridWidth($("#tableHolder").innerWidth()),
.setGridHeight($("#tableHolder").innerHeight());
};
Having constant rowNum, scroll bar appears on grid if y-size isn't enough to hold given number of rows.
I want rowNum to be calculated automatically to display only rows which fit in a visible area of the grid and make others move to next pages and have no scroll bar. Is that possible?
You don't included in your question how you calculate the size based on on window resize and which more important which options of jqGrid you set and when you set (in which callback/event).
In general one can either set height or rowNum. I personally prefer to specify rowNum (which value could be calculated based on the window resize) and to use height: "auto", which is default value of height in free jqGrid. As the result, the grid will never have vertical scroll bars.
Additionally I prefer to use top pager (toppager: true) instead of the botom pager (pager option) if the height of rows of the grid could be variable.

Grid inside Table or MainTable

I have one WWSD or one SDPanel with some attributes but between these attributes that are fixed inside a Table or directly in the MainTable I want put and Grid, the problem is that the Grid is not showed and when I put the grid its no more possible scroll in the WWSD or SDPanel, is like the Grid stuck the SDPanel more than the grid is not showed.
Anyone can help me to put the Grid and keep with all normally ?
Thx.
I assume you're targeting Android.
The issue is that Android does not natively support nested scrolling. Therefore, a GeneXus layout that contains a grid will disable the form's own scrolling (so that the grid can itself scroll).
There are two ways of resolving this issue:
Redesign the panel so that the form does not vertically exceed the size of the screen (thus, form scrolling is not necessary).
Set autogrow=true for the grid, which will resize to fit all items (and "push down" any other controls located below it). Since the grid will no longer need to scroll, the form's scroll will be enabled.

How to make jqGrid have two different pagers?

I can get two pagers in jqGrid, one is on top, and one is on the bottom.
But I want to make the top pager show recordText on left, and the bottom pager show navigator buttons on the left.
The reason I want this is my grid is too wide, I don't want to use scrollbar to get the recordText or navigator buttons.
here this will help you...you can have two pagers one at top and one at bottom and based on your requirements you can hide a few things from pager.
Unable to position pager (navigation bar) above jqGrid

Resources