Column Grouping CSS Problem?

Column Grouping CSS Problem?

PhenixPhenix Posts: 7Questions: 0Answers: 0
edited October 2010 in General
Hi all,

first i want to say that Datatables is really nice and great ;)

ok now to my problem ;)
i have a table that woks nice. Now i built in Column grouping and the body is going over the heade and footer.
Is this a css format failure or something other?

this is my code
[code]
."\n"
."\n"
."\n"
."\n"
."\n"
."\n"
."ID\n"
."Nachname\n"
."Vorname\n"
."Abteilung\n";
$i = 1;
while($i <= $anz_tage) {
echo "$i\n";
$i++;
}
echo "\n"
."\n";
$i = 1;
while($i <= $anz_tage) {
$ktag = strftime("%a", mktime(0, 0, 0, $bis2, $i, $jahr));
echo "$ktag\n";
$i++;
}
echo "\n"
."\n"
."\n"
."\n"
."\n"
."\n"
."\n"
."\n"
."\n"[/code]
Greeting
Phenix

Replies

  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Are you able to link us to an example showing this problem, or a screenshot?

    Allan
  • PhenixPhenix Posts: 7Questions: 0Answers: 0
    becouse of Internal Data i can't make an example, but here is an screenshot

    http://www.phenix-web.de/screen.jpg

    I found out, that it is correct when i start searching and the records become smaller.

    http://www.phenix-web.de/screen-ok.jpg

    Phenix
  • PhenixPhenix Posts: 7Questions: 0Answers: 0
    it seems that the scrollbar is the one who make it.

    while i testet it with searching in my records i just saw that the table is stopping when i search for "q" and "x" ??
  • PhenixPhenix Posts: 7Questions: 0Answers: 0
    ok i just fixed it with "bAutoWidth": false ;-)

    thanks for trying ;)

    Phenix
  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Interesting - which version of DataTables are you using? Also, if you are using Firefox or Webkit, are you getting any messages on the console? Are you using scrolling in DataTables?

    Allan (full of questions ;-) )
  • PhenixPhenix Posts: 7Questions: 0Answers: 0
    Hey Allan,

    i'm using the version 1.7.3
    i'm using Firefox and MSIE 8
    i get no message for it in the cosole. only a "charCode" should not be used, when i'm searching ;)

    scrolling was disabled, but i'm playing with it now ;)

    also found out that i have a problem with searching. when i get no result my table show only the processbar.
    going to fix it also now ;)

    any other questions?

    i can make you an testaccount for looking around there if you wish


    greetings
    Phenix
  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Hi Phenix,

    A test account would be very useful in this case I think. I suspect that there will just be something which is bumping the width of the table beyond what can be visually shown, until some action is taken. I think a look at what is going on will be very useful! You can ping me using http://datatables.net/contact if you like.

    Regarding the processing bar - that will be likely due to a Javascript error, or possibly malformed JSON somewhere.

    Regards,
    Allan
  • PhenixPhenix Posts: 7Questions: 0Answers: 0
    edited October 2010
    Hi Allan,

    i fixed all my Problems,
    i had now the scolling inside the Table and changed the autowith to
    [code]
    bAutoWidth: false,
    [/code]
    to
    [code]
    bScrollCollapse: true,
    sScrollY: "600px",
    [/code]
    with this everything is ok. i think it's because i used for the date column an width from 30 and the autowidth counted it all together and put an fixed width on the tbody style for around 1300. thats what i located with firebug.

    my search problem was an JS error while in the FooterCallback function.
    i wrote it also on the right post where i had the code from.
    http://datatables.net/forums/comments.php?DiscussionID=823&page=1#Item_4


    Now i only had problem with the pagination. I think it's cause i use the sajax source.

    i just send you an mail with the login.
    if you want me to change it back to locate the width failure, just tell me ;)


    Greetings
    Phenix
This discussion has been closed.