[CLOSED] [1.1] TableGrid

  1. #1

    [CLOSED] [1.1] TableGrid

    Hello,

    I've run into a small complication with the TableGrid control. When you run the below example, you will notice that it renders an empty line between the heading and the first row.

                <ext:TableGrid runat="server" Table="example" />
                <table id="example">
                    <thead>
                        <tr>
                            <th>Column 1</th>
                            <th>Column 2</th>
                            <th>Column 3</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>1</td>
                            <td>2</td>
                            <td>3</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>2</td>
                            <td>3</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>2</td>
                            <td>3</td>
                        </tr>
                    </tbody>
                </table>
    Suggestions?

    Cheers,
    Timothy
    Last edited by Daniil; Jul 25, 2011 at 9:03 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please clarify what browser do you test under?

    I can't see the issue under IE8,9 and FF4.

    Example

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:TableGrid runat="server" Table="example" />
            <table id="example">
                <thead>
                    <tr>
                        <th>Column 1</th>
                        <th>Column 2</th>
                        <th>Column 3</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>1</td>
                        <td>2</td>
                        <td>3</td>
                    </tr>
                    <tr>
                        <td>1</td>
                        <td>2</td>
                        <td>3</td>
                    </tr>
                    <tr>
                        <td>1</td>
                        <td>2</td>
                        <td>3</td>
                    </tr>
                </tbody>
            </table>
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] [1.1] TableGrid Alignment
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 21, 2011, 5:59 PM
  2. TableGrid selector
    By alemonnier in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 30, 2011, 10:22 AM
  3. [CLOSED] What is Ext:TableGrid?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 26, 2011, 5:31 PM
  4. Example of tablegrid for version 0.8?
    By lucas in forum 1.x Help
    Replies: 10
    Last Post: Jan 18, 2011, 5:53 PM
  5. [CLOSED] How to bind with tablegrid
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 28, 2008, 4:03 AM

Posting Permissions