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:

Search on Dates (2000) Anyone have an invoicing system? (1999) docs for WebCatalog2 (1997) my price won't move (1997) db protection on NT (1997) [WebDNA] [OT] thanks. (2009) WebDNA Freelancer Needed (2002) Problems reading files created by WC (1997) New Web Site Developers Database (1996) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Why won't this work (2005) WebMerchant 3.0 for Mac shipping now (1998) New servers and new inline cache (1997) Trying to evaluate data that is stored in an indexed variable... (2000) [WebDNA] hierarchal folder path tool (2011) b12 cannot limit records returned and more. (1997) Copyright ? (1997) Purchase Plugin Missing (1996) Renumbering/changing sort order of lineitems (2004) Protect (1997)