Results 1 to 4 of 4

Thread: Grid Column - Composite Cell with Dynamic Data

  1. #1
    Sencha User
    Join Date
    Apr 2015
    Posts
    3
    Vote Rating
    2
      2  

    Default Grid Column - Composite Cell with Dynamic Data

    I am working on creating a Composite Cell for one of my Grid Columns.

    The Expected Behaviour is to have a Input Cell with.
    1. button, 2. ComboBox 3. TextBox.
    My Cell Can have multiple rows of the above.
    Also should be a Add Button in my cell to create a new Row with above three components.

    Above is my requirement.

    My Questions.
    1. How to Render a Composite Cell in my Grid Column.
    2. How to handle the Events of Button Click and Combo Box Select within the composite Cell.

    I have added a Image of what I have achieved till now.
    Attached Images Attached Images

  2. #2
    Sencha User
    Join Date
    Apr 2015
    Posts
    3
    Vote Rating
    2
      0  

    Default

    Solved now.

    The Problem was with the way I was rendering my Composite Cell.

    First the Composite Cell must be rendered and the Cells must be saved in an Array List.
    Then depending on the index received while you do a onBrowseEvent the corresponding cells onBrowseEvent must be called.

    Also all the events which you want to be captured must be added to the Composite cell in the constructor.



  3. #3
    Sencha Premium Member
    Join Date
    Jun 2015
    Posts
    1
    Vote Rating
    1
      1  

    Default

    I have a similar problem, can you post your code please?

  4. #4
    Sencha User coruja182's Avatar
    Join Date
    Jul 2010
    Location
    Sorocaba/SP/Brazil
    Posts
    4
    Vote Rating
    0
      0  

    Default

    I would like to see the code too. I need to do something like that.
    With great power comes great responsibility

Similar Threads

  1. Replies: 7
    Last Post: 14 Jun 2012, 7:30 AM
  2. Replies: 2
    Last Post: 27 Feb 2011, 9:34 PM
  3. Dynamic grid (data and column)
    By Madk in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 30 Dec 2010, 6:39 AM
  4. How to RPC service for dynamic column data grid?
    By cesarzea in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 22 Apr 2009, 1:00 PM
  5. style grid cell basing on data from other column?
    By Mchl in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 19 Mar 2009, 11:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •