View Full Version : Loading Treegrid data on selecting value in type ahead

25 Feb 2012, 5:21 AM
Hi ,I wanna to reload data of treegrid on selecting a value in a type ahead.I created a Type ahead and on selecting a value from it.I am doing following things on 'select' event of type ahead(1) I'm showing a label that contain name of selected value of type ahead.(2) A simple horizontal line. (3) A Tree grid and in it data is loaded using the value of type ahead selected value.(4) A button.My problem is in tree grid data is not loaded on first time when we select value in type ahead.When i again select another value from type ahead it showing the data for previously selected value of type ahead.[we can say loading data of tree grid is one step back :) ]Thanks,

25 Feb 2012, 7:58 AM
Is the select event firing on the first time?

26 Feb 2012, 11:22 PM
Hi mitchell,

Thanks for your reply.

Yes,select event is firing on first time.
But,it's not able to load data for tree grid or we say it not able to set dataUrl of loader of tree grid.

In select event i try to set dataUrl.But, same problem.