PROBLEM SOLVED.
I have found the problem, in my page I have 2 grids. When you insert rows in the first grid they are saved in the serve.
But in the second grid I load the data from the server, but the data of grid is still loaded and there is a problem with the second grid and images id or something else.
If I clear the data of the first grid after saving on server, all works perfect.
Thanks.
Josep Escofet
Here is the topic discussion.
Rectification,
It don't
Hi Tony,
I have tried your solution in more detail and I realised that in the first time it works correclty, but when the grid is reload with new data, then the first row isnt erase de plus image, but If I put the next it works for the first and next reloades.
rowid-1
$(“td.sgcollapsed”,”#”+rowid-1).empty().unbind('click');
I don't know if it is correct, but it works.
thanks.
Josep Escofet.
Hi Tony,
I have tried your solution and it works, but I have a minor problem:
On event : loadComplete: function(){
Tanks for the answer,
I don't have the information,this is searched when you click the plus image, but I have the userData an array telling me what row will held information. I am going to try your solution with my userData array.
thanks.
Josep Escofet
I have solved the error including grid.subgrid.js.
But now, there isn't error but the row is not expanded thru javascript 🙁
$(”#grid2″).expandSubGridRow(”1″);
any ideas?
thanks.
After 1st load executing gridComplete() ,
Yes, I've tried this, but it dosen't work, there is no error, I'm using version 3.1.
I've tried this:
gridComplete: function() {
I'm using 3.1 version
Yes, The grid is reloading ok, but I want the first subgrid when the grid is reloaded will appear as expanded. I have tried this : $(“#grid2”).expandSubGridRow(“1”);
I think it would be better add the locale as in java.
The format is determined for the locale string which is different
for every country (ES, FR, US….).
It could be interesting to add an extra parameter indicating the
mask (#,###.00) or (dd/mm/yy) for a non country specialized
format sort.
Thanks for all.
At the momment I have done the sort in the server, it is a little
slow but it works well.
Josep Escofet
Hi,
I have tryed it with float, and if the numbers to sort hasnt any format
the sort is done correct, but If the numbers has any format,
for example in Europe the format for numbers in Spain and France
are not the same, in Spain and Deuschland are the same, then
the sort is not done correctly, the sort should be look for the
country format of the numbers This function fort sort to client
side is not internationalized.
Does is it correct?
thanks.
Josep Escofet
Hi,
I have been done!, but I dont know if it is all correct, I have
tested it in Friefox 3.0 and Explorer 6 and it works for me, but I does
not tested subgrids… only the header of the grid.
I have modifyed
Hi Tony,
I have tryed it with firefox, and with
it expands to second line,
but the row is not expanded in their height, then the text is not fully
visible, and with Explorer 6 it happens too, In explorer 6 without
tag the text is visible in the second line but only a piece of text
becouse the row is not expanded in their height,
is it a Bug? or is there some way to ahchieve this?
The second question about to put color, or background color all rows
of an “x” col , is there an easy way to do this?
I have thinked to do a bucle for all grid and look at specifyed col
and change that col for every row, but I dont think that it is the better method,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top