Categories | Question details Back To List | ||
XML run command I've added an afterInit element to the <head> tag of my XML to select the first row of the grid, but it isn't working. Do I have something incorrect? <?xml version="1.0" encoding="UTF-8" ?> <rows total_count="4423" pos="0"> <head> <afterInit> <call command="selectRowById"> <param>1</param> <param>false</param> <param>true</param> <param>true</param> </call> </afterInit> </head> <row id="1"> <cell>1</cell> etc... Answer posted by Support on Jun 24, 2008 01:58 The order of XML processing a) commands from beforeInit executed b) configuration from head\column initialized c) commands from afterInit executed d) data part of grid loaded In your case the command executed in moment when no data loaded yet, as result - nothing selected in grid. If you need just to select row , you can use selected attribute of "row" tag. <row id="1" selected="true"> .... |