Re: [WebDNA] Code Library

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110456
interpreted = N
texte = --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The Kendo UI is easy to install but the documentation is a bit all over = the place when it comes to configuration. This gave me some good insite: http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-php The hardest thing was getting the JSON to come off the server properly, = but then I remembered a trick that Ken Grome told me about 10 years ago. = [SETMIMEHEADER] This is also invaluable for getting things right: http://jsonlint.com If your JSON does not validate then the Kendo will not work. The trap I = fell into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem: [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 17/06/2013, at 10:03 PM, William DeVaul wrote: > Looks really good. I like that changed fields are tagged with a red = triangle. How challenging was Kendo UI to learn? Just a javascript = library built on jQuery? >=20 > Bill >=20 >=20 > On Mon, Jun 17, 2013 at 7:09 AM, Stuart Tremain = wrote: > I knocked this together on the weekend while trying to teach myself = the Kendo UI. >=20 > http://code.idfk.net >=20 > It features resizable, sortable & rearranging table columns, just = click & hold a column to move it left or right. Click on a title to see = it sort. Drag the column divider to resize. Inline editing is done via = AJAX & JSON. >=20 > It is built with frames so they are resizable in the normal way. >=20 > I have also done the textarea with an elastic line numbered = background. >=20 > A few other bells and whistles. >=20 > The data is all live but not important if you trash it. >=20 > Search works on Snippet Name. >=20 > Love to hear your thoughts. >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The = Kendo UI is easy to install but the documentation is a bit all over the = place when it comes to configuration.

This gave me = some good insite:
http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-p= hp

The hardest thing was getting the JSON = to come off the server properly, but then I remembered a trick that Ken = Grome told me about 10 years ago. = [SETMIMEHEADER]

This is also invaluable for = getting things right:
http://jsonlint.com
If your = JSON does not validate then the Kendo will not work. The trap I fell = into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem:
[SETMIMEHEADER = name=3DContent-Type&value=3Dapplication/json]


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 17/06/2013, at 10:03 PM, William DeVaul <wdevaul@gmail.com> = wrote:

Looks really good.  I like that = changed fields are tagged with a red triangle.  How challenging was = Kendo UI to learn?  Just a javascript library built on = jQuery?

Bill


On Mon, Jun 17, 2013 at 7:09 AM, = Stuart Tremain <webdna@idfk.com.au> = wrote:
I knocked this together on the = weekend while trying to teach myself the Kendo UI.


It features resizable, sortable = & rearranging table columns, just click & hold a = column to move it left or right. Click on a title to see it sort. Drag = the column divider to resize. Inline editing is done via AJAX & = JSON.

It is built with frames so they are resizable in the = normal way.

I have also done the textarea with = an elastic line numbered background.

A few = other bells and whistles.

The data is all live but not important if you trash = it.

Search works on Snippet = Name.

Love to hear your thoughts.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Code Library (Stuart Tremain 2014)
  2. Re: [WebDNA] Code Library (christophe.billiottet@webdna.us 2014)
  3. Re: [WebDNA] Code Library (Lori Palmquist 2013)
  4. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  5. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  6. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  7. Re: [WebDNA] Code Library (Donovan Brooke 2013)
  8. Re: [WebDNA] Code Library (John Butler 2013)
  9. Re: [WebDNA] Code Library (Lori Palmquist 2013)
  10. Re: [WebDNA] Code Library (Jym Duane 2013)
  11. RE: [WebDNA] Code Library ("Michael A. DeLorenzo" 2013)
  12. Re: [WebDNA] Code Library (William DeVaul 2013)
  13. [WebDNA] Code Library (Stuart Tremain 2013)
--Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The Kendo UI is easy to install but the documentation is a bit all over = the place when it comes to configuration. This gave me some good insite: http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-php The hardest thing was getting the JSON to come off the server properly, = but then I remembered a trick that Ken Grome told me about 10 years ago. = [setmimeheader] This is also invaluable for getting things right: http://jsonlint.com If your JSON does not validate then the Kendo will not work. The trap I = fell into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem: [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 17/06/2013, at 10:03 PM, William DeVaul wrote: > Looks really good. I like that changed fields are tagged with a red = triangle. How challenging was Kendo UI to learn? Just a javascript = library built on jQuery? >=20 > Bill >=20 >=20 > On Mon, Jun 17, 2013 at 7:09 AM, Stuart Tremain = wrote: > I knocked this together on the weekend while trying to teach myself = the Kendo UI. >=20 > http://code.idfk.net >=20 > It features resizable, sortable & rearranging table columns, just = click & hold a column to move it left or right. Click on a title to see = it sort. Drag the column divider to resize. Inline editing is done via = AJAX & JSON. >=20 > It is built with frames so they are resizable in the normal way. >=20 > I have also done the textarea with an elastic line numbered = background. >=20 > A few other bells and whistles. >=20 > The data is all live but not important if you trash it. >=20 > Search works on Snippet Name. >=20 > Love to hear your thoughts. >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The = Kendo UI is easy to install but the documentation is a bit all over the = place when it comes to configuration.

This gave me = some good insite:

The hardest thing was getting the JSON = to come off the server properly, but then I remembered a trick that Ken = Grome told me about 10 years ago. = [setmimeheader]

This is also invaluable for = getting things right:
If your = JSON does not validate then the Kendo will not work. The trap I fell = into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem:
[SETMIMEHEADER = name=3DContent-Type&value=3Dapplication/json]


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 17/06/2013, at 10:03 PM, William DeVaul <wdevaul@gmail.com> = wrote:

Looks really good.  I like that = changed fields are tagged with a red triangle.  How challenging was = Kendo UI to learn?  Just a javascript library built on = jQuery?

Bill


On Mon, Jun 17, 2013 at 7:09 AM, = Stuart Tremain <webdna@idfk.com.au> = wrote:
I knocked this together on the = weekend while trying to teach myself the Kendo UI.


It features resizable, sortable = & rearranging table columns, just click & hold a = column to move it left or right. Click on a title to see it sort. Drag = the column divider to resize. Inline editing is done via AJAX & = JSON.

It is built with frames so they are resizable in the = normal way.

I have also done the textarea with = an elastic line numbered background.

A few = other bells and whistles.

The data is all live but not important if you trash = it.

Search works on Snippet = Name.

Love to hear your thoughts.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E-- Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Cart sweeper (2000) Re:No Data (1997) Great product and great job ! (1997) Searching multiple fields from one form field (1997) page chokes on hideif when false and ignored (1998) Reversed words (1997) quotes and truncating? (1997) Re2: Calculating multiple shipping... (1997) Counting Inventory (2003) Mac -Shareware Listserver (1998) [GetMIMEHeader] does not work (under Linux?) (2000) email program problem (1998) Help name our technology! I found it (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) RAM variables (1997) [WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012) Getting total number of items ordered (1997) anyone about? (2004) OT: How to find out who owns an IP address (2001) WC2b15 - [HTMLx]...[/HTMLx] problems (1997)