Code Igniter Extended Wiki
Brought to you by:
kanata1988
RDataGrid is a custom datagrid that can show your data with ease. For it to work, it will need a Class that implements IRDataProvider interface.
You can see the sample in application/libraries/DataProvider/user_dataprovider.php. This dataprovider is used to show users data taken from the database.
List of required functions in a DataProvider Class:
getTotalCount() : used in collaboration with the pagination.
getData() : used to show the data.
getLabel() : used to show label in the header of the datagrid, based on the name of the field. (This function is optional)