Hello,
I was developing an iOS app in that course I downloaded the beta version of nuclios for using the libraries iggrid, when I run the application with the library appears in the lower right corner of each grid a label that says Nuclios Trial, recently bought Nuclios license to migrate from the beta version which is buying the product and yet still out on grids labeled with the name of Nuclios Trial, I would be very grateful to know how I can not leave this tag grids.
thank you very much in advance
Hureeey.... got it working... the single line of code made the difference...
thanks a lot Team
Hi Praveen,
Although you've implemented the datasource protocol, you aren't telling the grid that.
You need to add the following line:
gridView.dataSource = self;
That should do the trick,
-SteveZ
/ *****************************************************/
in viewload:
gridView = [[IGGridView alloc]initWithFrame: CGRectMake(5, 377, 1013, 315) style:IGGridViewStyleDefault]; gridView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; [gridView setDelegate:self]; [self.view addSubview:gridView];
/ *****************************************************/-(int)gridView:(IGGridView *)gridView numberOfRowsInSection:(int)section{ return 10;}-(int)numberOfColumnsInGridView:(IGGridView *)gridView{ return 5;}-(IGGridViewCell *)gridView:(IGGridView *)gridView cellAt:(IGCellPath *)path{ IGGridViewCell* cell = [gridView dequeueReusableCellWithIdentifier:@"CELL"]; if(cell == nil) { cell = [[IGGridViewCell alloc]initWithReuseIdentifier:@"CELL"]; } cell.textLabel.text = [NSString stringWithFormat: @"Row: %d, Section: %d, Column:%d", path.rowIndex, path.sectionIndex, path.columnIndex]; return cell;}
and as directed tried to UpdateData...
[gridView updateData];
even now the Grid looks empty without data. Am i doing anthing wrong which cause this issue?
The only difference between the trial and the release version is the trial has a watermark that is displayed in the lower right hand corner of the control.
It's hard to know why you aren't seeing the grid from your description. I would suggest that you make sure you're setting a frame on your grid. If you hooked up your datasource and you don't see the data, try calling the updateData method off of the grid after you set the dataSource, you could potentially be running into a timing issue, in which case this would for the grid to update.
Hope this helps, if not could you send me your sample or at least the code you're using to display the grid?
Thanks,
Not able to view IGGridView controller after adding to my View controller view. I am currently using the trial version. Is that the reason for not able to view the controller even after adding as subview to my view.