I want to populate data from database in to a table view in grouped style.
No. of records can be varied.(Dynamically change)
I tried it, but I am just able to create different sections in table view with heading .
for EX: my database has 5 field NAME,ADDRESS,CONTACT,SALARY,TECHNOLOGY.
So I want to put the name field value in header of section which I did…..successfully
but when I am trying to populate the other four fields values under the section then it will populate only for 1 section only.
Second problem is that when I scroll up and down the screen then values becomes misplaced means randomly changes their place.
Make sure you have the numberOfSectionsInTableView and numberOfRowsInSection done right. Also the cellForRowAtIndexPath needs to be coded to identify the sections and the row within each section. If you need a complete example, please post the code you are using now for that TableView and I can modify it to do what you want.