Google Groups Home
Help | Sign in
grid - extendets..
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
mb  
View profile
 More options Apr 21, 4:17 am
From: mb <m...@shopscripts.de>
Date: Mon, 21 Apr 2008 01:17:54 -0700 (PDT)
Local: Mon, Apr 21 2008 4:17 am
Subject: grid - extendets..
how can i get a expander row like

http://extjs.com/deploy/dev/examples/grid/grid3.html

or a combination of expander row and checkbox-selection??


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergei Walter Guerra  
View profile
 More options Apr 21, 12:43 pm
From: "Sergei Walter Guerra" <serg...@gmail.com>
Date: Mon, 21 Apr 2008 10:43:19 -0600
Local: Mon, Apr 21 2008 12:43 pm
Subject: Re: [php-ext] grid - extendets..

Mmm... Basically what you need to create a row body is to set the
setEnableRowBody property to true on the GridView and you can customize it
by using some javascript using the with the getRowClass.  Its a little
tweaky.  In that example they are using a user extension called RowExpander
which does exactly that.  Basically it works as a column renderer and a grid
plugin.  It renders the +/- icon and expands the row content and handles the
expand/collapse events.  To be able to use these extension in PHP-Ext we can
add the raw javascript to our page and use PhpExt_Javascript:variable() to
get the reference to the js object used; or... of course it can be
implemented as a user extension (as the SearchField and XmlErrorReader). Oh,
one more thing plugins are not yet enabled in PHP-Ext, will be soon.  Let me
see if all of these can be implemented and included in the trunk cause its a
nice to have extension.

Abou the checkbox, you can use the CheckboxSelectionModel (grid namespace).
Just create a new instance, configure it and set it to the SelectionModel
property in the GridPanel.  I'm not quite sure how the RowExpander and the
CheckboxSelectionModel could live together but I'm thinking they could since
row expander its an extra column.

Thanks for asking

On Mon, Apr 21, 2008 at 2:17 AM, mb <m...@shopscripts.de> wrote:

> how can i get a expander row like

> http://extjs.com/deploy/dev/examples/grid/grid3.html

> or a combination of expander row and checkbox-selection??

--
Sergei Walter
serg...@gmail.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mb  
View profile
 More options Apr 28, 11:54 am
From: mb <m...@shopscripts.de>
Date: Mon, 28 Apr 2008 08:54:50 -0700 (PDT)
Local: Mon, Apr 28 2008 11:54 am
Subject: Re: grid - extendets..
i test the last 3 days to add the rowexpander, but i need a little
more help...

can you help me   -  please ;D

On 21 Apr., 18:43, "Sergei Walter Guerra" <serg...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google