1. #1
    Sencha User
    Join Date
    Apr 2010
    Location
    Chennai,Tamil Nadu,India
    Posts
    72
    Vote Rating
    0
    sam.arulprakash is on a distinguished road

      0  

    Default To add EXTJS-Text Field inside HTML Table ?.....

    To add EXTJS-Text Field inside HTML Table ?.....


    Hi all,

    I am in need to add text-field into html table.
    I have tried with two option
    1)apply to--------
    2)renderTo.......
    But i am not able to achieve it.
    what are all the things i need to do?..Please help me



    Thanks in Advance.
    Regards,
    Arul Prakash.M


    <
    tableid="Table1"runat="server"style="position:relative;"border="1">
    <tr>
    <td>
    -------Here Ext Js Text Field Script --------
    var objText = new Ext.form.TextField
    (
    {

    applyto:
    'PhrsTable' //renderTo: document.body
    });
    </td>
    </tr>
    </
    table>

  2. #2
    Ext JS Premium Member gevik's Avatar
    Join Date
    May 2009
    Location
    The Netharlands
    Posts
    265
    Vote Rating
    8
    gevik will become famous soon enough

      0  

    Default


    Study the following code:
    Code:
    <script>
        var objText = new Ext.form.TextField(
        {
            id:'objText',
            value:'some value',
            renderTo:'myTD'
        });
    
    </script>
    
    
    
    <table id="Table1" runat="server" style="position:relative;"border="1">
        <tr>
            <td id="myTD">
            </td>
        </tr>
    </table>
    If you are using ASP.NET, you might be better off using http://www.coolite.com

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Location
    Chennai,Tamil Nadu,India
    Posts
    72
    Vote Rating
    0
    sam.arulprakash is on a distinguished road

      0  

    Default


    Thanks Gevik....For your valuable reply.

    Your code working fine now.

    Regards,
    Arul Prakash.M

Similar Threads

  1. TabPanel inside html <table> stetches mega far
    By geoffrey.mcgill in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 25 Apr 2012, 5:44 AM
  2. How to create a Field with label and html text instead of input field?
    By ihor.ko in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 25 May 2009, 2:24 AM
  3. html table to extjs table
    By bhaskar1605 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 14 Oct 2008, 5:45 AM
  4. [SOLVED] How do I add a description (help/hint text) below a text field?
    By dragontree in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 6 Jul 2007, 4:39 AM
  5. is it possible to add a button inside the grid table?
    By Supersuper in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 15 May 2007, 12:47 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar