Hi
When i bind the data with the grid, a new empty row along with the binded data is being populated. If there is now data to be populated then also a default blank row is getting populated. I tried to set AllowNewDefault to NO, the i am not even able to add new row using javascript.
My requirement is to display and empty grid if there is no data and display the exact rows which are being retrieved. I am using a link button which in turns calls a javascript function to add new row.
Hello Anil,
Do you need to remove the AddNewBox row? This sounds weird to me, since by default is is turned off I think, but in any case, please take a look at the following KB article for details on how to obtain the AddNewBox reference and modify its hidden state:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=2799
You can also use the DisplayLayout.NoDataMessage to customize the message that will appear when the grid is not bound with data.
I dont want to remove "AddNewBox". I have a HTML link, on click of that iam calling igtbl_addNew("UltraWebGrid1",0); to add new row. This works fine. But a default empty row is getting populated. If there are 20 records then count of rows is 21. If count of records is 0 then count of rows is 1.
There must be something I am missing in my reproduction.... I believe the best way to proceed in this types of situations is to contact Developer Support directly. They can be reached at:
http://es.infragistics.com/gethelp/default.aspx
This way, you will either get a workaround/solution/hotfix, or this will be logged as a bug in our bug track system and assigned a number and you will be able to monitor any status change for this bug from this point on.