× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Kevin,Vern
I think the biggest problem was the class identification.
I can see that things are happening, but not exactly as I expected(ie, now I have no borders around the table)
So I guess I'll go back to Flexigrid, to see if I need to do anything else

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Thursday, March 27, 2014 11:41 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] cgidev2 with flexigrid

It is nothing really anything to do with CGIDEV2. That is just a mechanism for observing data sent from the browser via an HTTP request, and returning data to the browser via an HTTP response.

Your problem is entirely down to the code you are running on the browser. You are running jquery presumably - and your table has a class of ".flexme". Why does your class start with a dot? It seems to me you have things the wrong way around. The class on the table element should just be "flexme", and the way jquery would be told to find it would be $(".flexme").

What you pass to jquery to find stuff is called a selector, and these follow the standard CSS syntax. So in CSS you define a class by starting it with a dot, but you don't include the dot on the elements to which you want the class to apply.

Sent from my iPad

On 27 Mar 2014, at 15:29, "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:

Has anyone used flexigrid with CGIDEV2 or some other similar Jquery plugin that might be able to provide me with an example.

I'm trying to learn a little by taking an existing CRUD type rpg
application and converting it to use CGIDEV2(I've got the basic table
working) Now I'm trying to implement flexigrid and can't seem to get it to work. I don't get any errors in the Javascript console(Chrome) and it does appear to actually jump into the flexigrid script, But I still only get a basic HTML table.

Some snippets of the code are

$(document).ready(function() {
$("flexme").flexigrid()
});
});

<TABLE class=".flexme" border=1 bgcolor="#FFFFFF">
<TR>

<th width="58" bgcolor="#2E64FE"> Select </th>
<th width="102" bgcolor="#2E64FE"> System </th>


I'm not really sure what else to look at to see where I might be running into a problem.

Thanks

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.