Horizontal Scrollbars on ExtJS Dataview

By kenglish

If you use the Extjs Dataview Example, you will notice it is does not tell you how to do horizontal scrollbars. Nor does the documentation mention this. This actually requires some trickery as this is not currently supported.

categoriaProgramming commento1 Comment dataDecember 15th, 2008
Read All

Awesome incident of the month

By admin

I'm (finally) getting more structured and object-oriented with my JavaScript. My co-worker is a guru at this stuff.

I was working on an awesome class called FirstTree. It was super-object-oriented. I went to go use it in my code like this:

var myObject = FirstTree.new({config: configuration});

I pounded my head on this for like 20 minutes. Why was it giving some strange error?!?!? I thought JavaScript would let me be object-oriented!

So, I asked the guru to look at my code. And he pointed out, “Dumbass, you write that line of code like this”:

var myObject = new FirstTree({config: configuration});

Moral of the story: Stop thinking in Ruby!

categoriaProgramming commentoNo Comments dataOctober 17th, 2008
Read All

PHP Captch

By admin

best tutorail so far here:

http://www.webcheatsheet.com/php/create … ection.php

categoriaProgramming commentoNo Comments dataJuly 29th, 2007
Read All

Php Excel Writer

By admin

Getting this working on Godaddy and other web hosts:

1) Download Speadsheet_Excel_Writer and OLE packages from pear.php.net
2) Create the directory structurs so they are like this:

Spreadsheet/
Spreadsheet/Excel
Spreadsheet/Excel/Writer
Spreadsheet/Excel/Writer/BIFFwriter.php
Spreadsheet/Excel/Writer/Workbook.php
Spreadsheet/Excel/Writer/Format.php
Spreadsheet/Excel/Writer/Worksheet.php
Spreadsheet/Excel/Writer/Parser.php
Spreadsheet/Excel/Writer/Validator.php
Spreadsheet/Excel/Writer.php

OLE/
OLE/OLE.php
OLE/PPS.php
OLE/PPS
OLE/PPS/Root.php
OLE/PPS/File.php

Copy the excample from http://pear.php.net/manual/en/package.f … .intro.php and make sure it works…

categoriaProgramming commento1 Comment dataMarch 15th, 2007
Read All