Any suggestions on how to make the scroll bar extend to include the row headers?
Grid
any way to make scroll bar control header as well as cells? When I scroll the heading cells are fixed.
- Login or register to post comments
- Unsubscribe post
how do I turn off row highlighting on my grid?
Hi,
I'd like to programmatically turn row highlighting on and off for a grid. The grid currently highlights each row the mouse is over in blue.
thanks
- Login or register to post comments
- Subscribe post
Cloning the grid...
Hi,
Has anyone tried cloning a grid? dojo.clone gives an error...
"this.setStyledClass is not a function"
The stack trace is as follows:
(no name)()dojo.js (line 605)
clone(Object)dojo.js (line 1798)
clone(function())dojo.js (line 1801)
clone([Widget dojox.VirtualGrid, NO ID] declaredClass=dojox.VirtualGrid)dojo.js (line 1801)
clone(function())dojo.js (line 1801)
clone(Object VirtualGrid=Object _grid=Object na=...)dojo.js (line 1801)
clone([Object VirtualGrid=Object _grid=Object na=..., "textSizeChanged", 1, 1 more...])dojo.js (line 1784)
- Login or register to post comments
- Read more
- Unsubscribe post
Printer Friendly Grid
Hi All,
Has any one tried to create printer friendly grids in their application.
Our application has grids with vertical and horizontal scrollbars... While printing the overflowing data is NOT printed.
Is there a mechanism to print the entire grid data? Any pointers to other sites, blogs, which have this implemented would also be of great help.
Regards,
Yazad Khambata
why doesn't grid.rowHeightChanged(rowNum) work? Any alternatives?
I extended the subgrids test example to include a third "level" in the subgrid. So I have grid like this:
Grid with rows that contain grids, and those grids contain grids.
When I "toggle" to expand the second level grid (thus making is bigger), I do this:
subGrid.updateRow(inIndex);
grid.rowHeightChanged(parentRow);
- Login or register to post comments
- Read more
- Subscribe post
Get index of current Row object?
Hello everyone,
I'm hoping someone can help with what I think is a simple problem. I just can't find the documentation to answer this. I'm using Dojo 1.1.1 and using a Grid object. I have the following code:
var row;
row = library.grid.model.getRow(selections[0]);
alert(row.rowIndex);
- Login or register to post comments
- Read more
- Subscribe post
DOJOX grid
[editor: moving to the appropriate forum…]
dojox.grid.data isnot an object or null.
I have hard coded the data in the data=[];
model=dojox.grid.data.table(data,null);
But the data is not displayed in the grid.
please help regarding this. I'm new to dojo.
Custom Sorting in a Data Store
I've found from looking through the forums that the following code allows you to setup a custom comparator to a field within a data store.
test_store.comparatorMap['fieldName'] = sorterFunction;
function sorterFunction( fieldNameData1, fieldNameData2 )
{
console.info( fieldNameData1, fieldNameData2 );
};
- Login or register to post comments
- Read more
- Subscribe post
formatter: and sorting
Hey everybody….I’m using the “formmatter:formatValue” parameter in the the grid structure.
My problem is that although I’m changing formatting of that data, I want the grid to retain its knowledge of the original values so that its able to perform client-side sorts of the original value…any ideas (or examples :) ) on how to accomplish this?
Thanks!
Nathan
Connecting window.onscroll or document.body.onscroll to a grid
Hello dojo world.
I am trying to make a mobile (iPhone, at first) interface that uses a grid to load a large dataset. I am most interested in the lazy loading capabilities of the grid.
I would like to link the scrolling of the window to scroll (and lazy-load) the contents of my grid. I have tried (note, I also tried document.body wherever I say window):
*editing the _View template (changing the node with the dojoAttachPoint="scrollboxNode" to the body element)
*using dojo.connect(window, 'onscroll', grid.scroller.scrollboxNode, 'doscroll')
- Login or register to post comments
- Read more
- Unsubscribe post
