Download the jqGrid32-test
and use afterInsertRow
I supposse that the id of summary row is something like
sum1,sum2….
afterInsertRow:function(rowid)
{
var sumrow = rowid.toLowerCase().substr(3)
if ( sumrow == “sum”)
{
jQuery(“#”+rowid,”the_id_of_the_grid”).addClass(“myclass”);
}
}
Regards
Tony
Some implementation can be done with subgrid module where the main columns are the summary (data is all form server) and the subgrid has a detail lines.
I plan to include in the next releases (not in the upcomming) treegrid which will do that very easy
Regards
Tony
Patrick,
I think that the right place of displayFormatter function should be in formatColl function .
Now the formater function is a very good idea and I will try to implement it in the next release (if posssible).
Having this you can try to work on parseDate function to accept strings.
For now it accepts only numbers.
Regards
Tony
This is the default behavior.
If you do not set the id send from the server the jqGrid add row with a number of records + 1. So it is possible in this case to have duplicate id’s.
You can use the third parameter in afterSubmit row event to set the correct id (i.e. the id from the server)
For more info see docs
Regards
Tony
You can simulate this if using the new toolbar option
i.e
toolbar :[true,”top”],
In this tool bar you can add what you want.
See demos
Regards
Tony
Open the grid.css style sheet.
Find
table.scroll thead th div
replace the property
white-space: nowrap;
with
word-wrap: break-word;
This should work in IE and FF
Regards
Tony
alche,
Thank you. Corrected.
Regards
Tony
Go into Documentation page Select:
jqGrid jQuery Grid->Data Types->XML Data->xml file
Regards
Tony
Currently this is not possible due to the fact that we do not have events when constructing a search form.
This is feature will be added in next release.
Regards
Tony
Direct print is not supported.
You can print what you want using the methods for obtaining the data i.e. – getDataIDs and getRowData methods – that is array of data which can be converted to what you want. Again with this you can obtain the needed parameters with getGridParam methods
Regards
Tony
Miguel,
Currently this is not possible. Only in pixels.
You can set only the height in percentage – (but you will trouble in Sfari 3). See Documentation about this.
Regards
Tony
By default all cols are searchable. You can disable this when you set in colModel the option search: true or false – see Documentation
Regards
Tony
Cristina,
If you construct the grid initially (first time) you can use a php script to do that. i.e
colModel:[{name:myname,… editoption:{here is the php script}…}]
This is only the first time.
If you want this to be a dynamically on every request you can use userdata option in xml or json data from the server. See documentation. This is a array which can be used again with a setGridParam after every request is done. If you need help please let me known
Regards
Tony
This will not work. The way of calling is not correct too –
the table is enclosed in div so setting the width of table does not have effect.
Currently you can not set the width of grid dynamically
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top