Without settings

Usage

Info If you set no column, Grid will use all columns from a table in the database with their real names
$mesourApp = //instance Mesour\Components\Application\IApplication
$source = //some <a href="http://components.mesour.com/version3/component/sources/" target="_blank">data source</a> or two-dimensional array

$grid = new Mesour\UI\DataGrid('basicDataGrid', $this->mesourApp);

$grid->setSource($source);

$grid->render();

Demo


iddoc_group_idactionnamesurnameemailamountavatarordertimestamp
111JohnDoejohn.doe@test.xx0/avatar/01.png100
221PeterLarsonpeter.larson@test.xx141026265215220.654/avatar/02.png1601418255330
331ClaudeGravesclaude.graves@test.xx14096602529876.465498/avatar/03.png1801418255311
410StuartNormanstuart.norman@test.xx141028075898766.2131/avatar/04.png1201418255328
531KathyArnoldkathy.arnold@test.xx1410078247456.987/avatar/05.png1401418155313
610JanWilsonjan.wilson@test.xx1409742922123/avatar/06.png1501418255318
710AlbertaEricksonalberta.erickson@test.xx140732503798753.654/avatar/07.png1101418255327
821AdaWellsada.wells@test.xx1407835516852.3654/avatar/08.png701418255332
910EthelFigueroaethel.figueroa@test.xx140990540645695.986/avatar/09.png201418255305
1021IanGoodwinian.goodwin@test.xx14098263791236.9852/avatar/10.png1301418255331
1131FrancisHayesfrancis.hayes@test.xx14097321775498.345/avatar/11.png01418255293
1220ErmaBurnserma.burns@test.xx140430853563287.9852/avatar/12.png601418255316
1321KristinaJenkinskristina.jenkins@test.xx140853838374523.96549/avatar/13.png401418255334
1430VirgilHuntvirgil.hunt@test.xx140785257865654.6549/avatar/14.png301418255276
1511MaxMartinmax.martin@test.xx1409566460541236.5495/avatar/15.png1701418255317
1611MelodyManningmelody.manning@test.xx14096535809871.216/avatar/16.png501418255281
1721CatherineToddcatherine.todd@test.xx1402492479100.2/avatar/17.png101418255313
1820DouglasStanleydouglas.stanley@test.xx1397654538900/avatar/18.png901418255332
1931PattiDiazpatti.diaz@test.xx14104306361500/avatar/19.png801418255275
2010JohnPettersonjohn.petterson@test.xx14129286102500/avatar/20.png1901418255275