Fix treegrid to support idPrefix.