Re: Datagrid Basics

2010-08-19 Thread Andre.Bisseret


Le 19 août 10 à 04:43, Ray Horsley a écrit :


Greetings,

Anybody with some basics on how to provide users with the ability to  
double click in a cell and get an insertion point to edit text?   
This works fine in development but after saving a standalone the  
grid comes up unresponsive.


Ideally there would be a simple way to specify individual columns to  
be editable or not.


Thanks,

Ray Horsley
LinkIt! Software


Bonjour,

Assuming you have a Splash stack, did you create a substack of it,  
whose name beging with "Data Grid Templates" ?
This is necessary in order  the Standalone Builder includes the  
revDataGridLibrary


See lesson 7.1 in the doc from Trevor : What Do I Need to Do To Deploy  
a Standalone With A Data Grid?


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid-

HTH

Best regards from Grenoble

André

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread zryip theSlug
On Thu, Aug 19, 2010 at 4:43 AM, Ray Horsley  wrote:
> Greetings,
>

> Ideally there would be a simple way to specify individual columns to be
> editable or not.

Hi Ray,

You can define if a column is editable or not by using the
dgColumnIsEditable property of a datagrid

Example for locking the content of a column named myColName
set the dgColumnIsEditable ["myColName"] of group "myDataGrid" to false


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread Ray Horsley

André, Zryip,

Very helpful.  Thanks, especially to Trevor who has put together this  
wonderful instructional site.  After combing through it I'm missing  
just one thing.  Is there any way to 'lock' the first column when  
scrolling horizontally?  In my case I'm using the first column to  
simply number the lines so if there's any way to show line numbers and  
leave them locked on screen when scrolling that would work too.


Thanks,

Ray

On Aug 19, 2010, at 3:11 AM, Andre.Bisseret wrote:



Le 19 août 10 à 04:43, Ray Horsley a écrit :


Greetings,

Anybody with some basics on how to provide users with the ability  
to double click in a cell and get an insertion point to edit text?   
This works fine in development but after saving a standalone the  
grid comes up unresponsive.


Ideally there would be a simple way to specify individual columns  
to be editable or not.


Thanks,

Ray Horsley
LinkIt! Software


Bonjour,

Assuming you have a Splash stack, did you create a substack of it,  
whose name beging with "Data Grid Templates" ?
This is necessary in order  the Standalone Builder includes the  
revDataGridLibrary


See lesson 7.1 in the doc from Trevor : What Do I Need to Do To  
Deploy a Standalone With A Data Grid?


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid-

HTH

Best regards from Grenoble

André

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread zryip theSlug
On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley  wrote:
> André, Zryip,
>
> Very helpful.  Thanks, especially to Trevor who has put together this
> wonderful instructional site.  After combing through it I'm missing just one
> thing.  Is there any way to 'lock' the first column when scrolling
> horizontally?  In my case I'm using the first column to simply number the
> lines so if there's any way to show line numbers and leave them locked on
> screen when scrolling that would work too.

As far as I know there is no way to lock a column in a data grid.
The only trick I see is to use two datagrids. One for the fix column
and the other one for the scrolling columns.
By synchonizing the scrollbar of the both, you could obtain what you want.

The dgHScroll property could be helpful in this task, by reading the
value of the scrolling DG and apply this value to the locked DG.

Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread Ray Horsley

Zryip,

Thanks for the suggestion.  I'll give it a try.

Ray

On Aug 19, 2010, at 11:37 AM, zryip theSlug wrote:


On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley  wrote:

André, Zryip,

Very helpful.  Thanks, especially to Trevor who has put together this
wonderful instructional site.  After combing through it I'm missing  
just one

thing.  Is there any way to 'lock' the first column when scrolling
horizontally?  In my case I'm using the first column to simply  
number the
lines so if there's any way to show line numbers and leave them  
locked on

screen when scrolling that would work too.


As far as I know there is no way to lock a column in a data grid.
The only trick I see is to use two datagrids. One for the fix column
and the other one for the scrolling columns.
By synchonizing the scrollbar of the both, you could obtain what you  
want.


The dgHScroll property could be helpful in this task, by reading the
value of the scrolling DG and apply this value to the locked DG.

Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread zryip theSlug
On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley  wrote:
> Zryip,
>
> Thanks for the suggestion.  I'll give it a try.

Ray,

I just upload a new stack in the Slug's lab implementing this trick.
You can download it by following this link:
http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=9:experiment-014-dg-with-a-locked-column&id=7:data-grid&Itemid=63

Click on the show script button to open the script.

And I share here the handler added in the second data grid:

on dgScrollbarDragV
   set the dgVScroll of grp "datagrid 1" to the dgVScroll of me
   pass dgScrollbarDragV
end dgScrollbarDragV

To correct myself I'm using:
- the dgVScroll property more appropriated to the task
- and the dgScrollbarDragV sent to the Data Grid engine when an user
used the datagrid's vertical scrollbar.

As far as I know the dgScrollbarDragV is not described in the data
grid API but it exists in the engine. The dgScrollbarDragH as well.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread zryip theSlug
On Thu, Aug 19, 2010 at 9:37 PM, zryip theSlug  wrote:
> On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley  wrote:
>> Zryip,
>>
>> Thanks for the suggestion.  I'll give it a try.
>
> Ray,
>
> I just upload a new stack in the Slug's lab implementing this trick.
> You can download it by following this link:
> http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=9:experiment-014-dg-with-a-locked-column&id=7:data-grid&Itemid=63
>
> Click on the show script button to open the script.
>
> And I share here the handler added in the second data grid:
>
> on dgScrollbarDragV
>   set the dgVScroll of grp "datagrid 1" to the dgVScroll of me
>   pass dgScrollbarDragV
> end dgScrollbarDragV

I have just pushed the experiment a little ahead by synchronizing the
lines selected:

on selectionChanged pHilitedIndex, pPrevHilitedIndex
   set the dgHilitedIndex of grp "datagrid 1" to pHilitedIndex
end selectionChanged

I updated the corresponding lab's stack.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-19 Thread RevList
Trevor may have developed the Data Grid (and I am really glad he did), but
Zyrip the Slug is going to make it ultimately more usable when he releases
his Data Grid Helper.  It is a phenomenal piece of work that will make
creating and managing your data grids a snap.
He has it out for beta testing now and I can't wait until it is released. 
I will not hesitate to purchase it.

**
Stewart Lynch
CreaTECH Solutions
sly...@createchsol.com
604.484.8499
Skype:StewartLynch

There are only 10 kinds of people.  Those who understand binary and those
who don't.
**

zryip theSlug  on August-19-10 at 4:35 PM -0700
wrote:
>I have just pushed the experiment a little ahead by synchronizing the
>lines selected:
>
>on selectionChanged pHilitedIndex, pPrevHilitedIndex
>   set the dgHilitedIndex of grp "datagrid 1" to pHilitedIndex
>end selectionChanged
>
>I updated the corresponding lab's stack.
>
>
>Regards,
>-- 
>-Zryip TheSlug- wish you the best! 8)
>http://www.aslugontheroad.co.cc




This message and any attachments are intended only for the use of the
individual to whom they are addressed and it may contain information that
is privileged or confidential. If you have received this communication by
mistake, please notify us immediately.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-21 Thread zryip theSlug
On Fri, Aug 20, 2010 at 2:58 AM, RevList  wrote:
> Trevor may have developed the Data Grid (and I am really glad he did), but
> Zyrip the Slug is going to make it ultimately more usable when he releases
> his Data Grid Helper.  It is a phenomenal piece of work that will make
> creating and managing your data grids a snap.
> He has it out for beta testing now and I can't wait until it is released.
> I will not hesitate to purchase it.

Thanks Stewart,

I'm actually working to correct and improve the features already
available in the DGH, in the goal to have a first stable version.
A first version will not signify the end of the development. I have
tons of features in head, and I will propose regular updates after the
first version.

Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-21 Thread stephen barncard
When will this tool be available? Well done, mr Slug.

sqb


>
> I'm actually working to correct and improve the features already
> available in the DGH, in the goal to have a first stable version.
> A first version will not signify the end of the development. I have
> tons of features in head, and I will propose regular updates after the
> first version.
>
> Regards,
> --
> -Zryip TheSlug- wish you the best! 8)
>

Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Basics

2010-08-22 Thread zryip theSlug
On Sat, Aug 21, 2010 at 7:53 PM, stephen barncard
 wrote:
> When will this tool be available? Well done, mr Slug.
>
> sqb

Stephen,

I'm working to have a first open beta in september.

Thanks.



Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution