simply the handle name is not good... you have named your gridview "gv" and not "GridView1"... it's an usual copy&paste error ;-)
PUBLIC SUB gv_Data(Row as integer, Column as integer) you have put the column between comma... this pactice is for the translated strings... but if you translate column headers ... they will not match with the db entries... i think it will be better to use a separate string array to store the fields name. private $aMyFields as string[]= ["field1", "field2", "Field3", "Field4"] public sub _new() gv.columns.count = $aMyFields.count gv.columns[0].text = "id" gv.Columns[1].text = ("name") ' that can be "nom" in french etc... public sub gv_data(... result.moveto(row) gv.data.text=result[$aMyFields[column]] Regards, Fabien 2009/3/27 Jesus Guardon <jguar...@telefonica.net>: > Still nothing... Data event seems to be not fired. > > Please, check the modified example: > > http://www.ea7dfh.es/demotableview.tar.gz > > This includes the sqlite3 database and is too big to attach in the > e-mail.( ~600 Kb) > > What I'm doing wrong? > > Regards and thanks for your patience > > Jesús > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user