Fixed code samples on examples page

It looks like example 3 was showing old code as the example, I updated it to the code the gird is really using.