Basic usage

61 views
Skip to first unread message

cal

unread,
Jun 20, 2012, 5:42:32 PM6/20/12
to MyTableGrid
Never having used anything like this before, I created a blank HTML
page and added in the items mentioned on the samples page for both
TableGrid and TextField, but I keep getting a JS runtime error "MY is
undefined". It hits that error in controls.js, before the page even
gets loaded. Could someone point me in the right direction...looks
like really cool stuff to use. And go easy, I'm a newbie. Thanks.

Pablo Aravena

unread,
Jun 21, 2012, 7:14:20 AM6/21/12
to mytab...@googlegroups.com
Can I see your code?

Regards
Pablo
> --
> You received this message because you are subscribed to the Google Groups "MyTableGrid" group.
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to mytablegrid...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mytablegrid?hl=en.
>

cal

unread,
Jun 21, 2012, 10:39:57 AM6/21/12
to mytab...@googlegroups.com
Of course! 
 
 
They both load in IE8, but with errors, which you can see via the yellow icon in the lower left of the page.
 
Thank you.
 

On Thursday, June 21, 2012 4:14:20 AM UTC-7, parav...@gmail.com wrote:
Can I see your code?

Regards
Pablo



On Wed, Jun 20, 2012 at 2:42 PM, cal <ng...@gvn.com> wrote:
> Never having used anything like this before, I created a blank HTML
> page and added in the items mentioned on the samples page for both
> TableGrid and TextField, but I keep getting a JS runtime error "MY is
> undefined".  It hits that error in controls.js, before the page even
> gets loaded.  Could someone point me in the right direction...looks
> like really cool stuff to use.  And go easy, I'm a newbie.  Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "MyTableGrid" group.
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to mytablegrid+unsubscribe@googlegroups.com.

Pablo Aravena

unread,
Jun 21, 2012, 11:31:44 AM6/21/12
to mytab...@googlegroups.com
I think the problem is your "Scripts" folder, change it to "scripts"
all characters in lowercase, also you need to have your css files
available at the same lavel as your scripts folder. Review the myui.js
file and you will understand where all dependencies must be located,
also you will see some hard coded directory names, you can change them
if you can't change your directory names.

Good luck friend

Thanks
Pablo





On Thu, Jun 21, 2012 at 7:39 AM, cal <ng...@gvn.com> wrote:
> Of course!
>
> http://parts.cargopower.com
> http://parts.cargopower.com/mytablegrid.htm
>
> They both load in IE8, but with errors, which you can see via the yellow
> icon in the lower left of the page.
>
> Thank you.
>
>
> On Thursday, June 21, 2012 4:14:20 AM UTC-7, parav...@gmail.com wrote:
>>
>> Can I see your code?
>>
>> Regards
>> Pablo
>>
>>
>>
>> On Wed, Jun 20, 2012 at 2:42 PM, cal <ng...@gvn.com> wrote:
>> > Never having used anything like this before, I created a blank HTML
>> > page and added in the items mentioned on the samples page for both
>> > TableGrid and TextField, but I keep getting a JS runtime error "MY is
>> > undefined".  It hits that error in controls.js, before the page even
>> > gets loaded.  Could someone point me in the right direction...looks
>> > like really cool stuff to use.  And go easy, I'm a newbie.  Thanks.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "MyTableGrid" group.
>> > To post to this group, send email to mytab...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > mytablegrid...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/mytablegrid?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "MyTableGrid" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mytablegrid/-/_G2mpZ9ovuQJ.
>
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to
> mytablegrid...@googlegroups.com.

cal

unread,
Jun 21, 2012, 2:54:39 PM6/21/12
to mytab...@googlegroups.com
OK, I changed the directory structure, and now the textfield works, but the tablegrid still has an error "Draggable is undefined".  Is that something that you provide in one of your libraries?
 
Thanks!
>> > mytablegrid+unsubscribe@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/mytablegrid?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "MyTableGrid" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mytablegrid/-/_G2mpZ9ovuQJ.
>
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to
> mytablegrid+unsubscribe@googlegroups.com.

Pablo Aravena

unread,
Jun 21, 2012, 3:00:55 PM6/21/12
to mytab...@googlegroups.com
That is something that belongs to scriptaculous library, Try
installing firebug plugin or use chrome developer console it will be
easier for identifying those referencial errors.

Good luck
>> >> > mytablegrid...@googlegroups.com.
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/mytablegrid?hl=en.
>> >> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "MyTableGrid" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/mytablegrid/-/_G2mpZ9ovuQJ.
>> >
>> > To post to this group, send email to mytab...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > mytablegrid...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/mytablegrid?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "MyTableGrid" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mytablegrid/-/Tewuj5NO9L0J.
>
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to
> mytablegrid...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages