josepk

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • Author
    Replies
  • in reply to: Hide plus image subgrid if no data #86744
    josepk
    Participant

    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

    in reply to: Hidden Subgrid with no data #86743
    josepk
    Participant
    in reply to: Hide plus image subgrid if no data #86739
    josepk
    Participant

    Rectification,

    It don't

    in reply to: Hide plus image subgrid if no data #86738
    josepk
    Participant

    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.

    in reply to: Hide plus image subgrid if no data #86737
    josepk
    Participant

    Hi Tony,

    I have tried your solution and it works, but I have a minor problem:

    On event : loadComplete: function(){

    in reply to: Hide plus image subgrid if no data #86736
    josepk
    Participant

    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

    in reply to: javascript subgridcol expand #86597
    josepk
    Participant

    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.

    in reply to: javascript subgridcol expand #86595
    josepk
    Participant

    After 1st load executing gridComplete() ,

    in reply to: javascript subgridcol expand #86594
    josepk
    Participant

    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() {

    in reply to: subgrid reload #86593
    josepk
    Participant

    I'm using 3.1 version

    in reply to: subgrid reload #86591
    josepk
    Participant

    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”);

    in reply to: Ordering numbers at client side #83114
    josepk
    Participant

    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

    in reply to: Ordering numbers at client side #83104
    josepk
    Participant

    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

    in reply to: Header with two rows and colums with colors how to? #83038
    josepk
    Participant

    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

    in reply to: Header with two rows and colums with colors how to? #83032
    josepk
    Participant

    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,

Viewing 15 replies - 1 through 15 (of 34 total)

Stay connected with us in your favorite flavor!