private static string getViewXmlString(List <ViewFeo> viewFeoList, savedqueryLayoutxmlGrid viewObj)
        {
            List <savedqueryLayoutxmlGridRowCell> newcellList = new List <savedqueryLayoutxmlGridRowCell>();

            if (viewObj.row != null && viewObj.row.cell != null)
            {
                List <savedqueryLayoutxmlGridRowCell> oldcellList = viewObj.row.cell.ToList();
                foreach (ViewFeo viewFeo in viewFeoList)
                {
                    if (viewFeo.AttributeObj != null)
                    {
                        string attributeNameAlias = string.IsNullOrEmpty(viewFeo.AttributeObj.relationAlias) ? viewFeo.AttributeName : string.Concat(viewFeo.AttributeObj.relationAlias, ".", viewFeo.AttributeName);
                        addCellToView(newcellList, oldcellList, attributeNameAlias, viewFeo.AttributeWidth);
                    }
                    else
                    {
                        throw new Exception("Relation Not Found");
                    }
                }
                viewObj.row.cell = newcellList.ToArray();
            }
            return(FormXmlMapper.MapObjToViewXml(viewObj));
        }